Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Crash when computing weightless Hamming distance & Doc build #402

Merged
merged 6 commits into from
Sep 27, 2022

Conversation

ncassereau
Copy link
Contributor

@ncassereau ncassereau commented Sep 26, 2022

Types of changes

The issue definitely comes from a bug in scipy's code and not ours. Anyway, here's a workaround, until scipy gets fixed.

The documentation is also fixed to work with the new matplotlib API.

Motivation and context / Related issue

Resolves #400. Resolves #403.

How has this been tested (if it applies)

Tested on Jean Zay.

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.

@codecov
Copy link

codecov bot commented Sep 27, 2022

Codecov Report

Merging #402 (b3a251a) into master (b295ffc) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #402   +/-   ##
=======================================
  Coverage   93.97%   93.97%           
=======================================
  Files          22       22           
  Lines        5927     5929    +2     
=======================================
+ Hits         5570     5572    +2     
  Misses        357      357           

@ncassereau ncassereau changed the title [WIP] Crash when computing weightless Hamming distance [WIP] Crash when computing weightless Hamming distance & Doc build Sep 27, 2022
@ncassereau ncassereau changed the title [WIP] Crash when computing weightless Hamming distance & Doc build [MRG] Crash when computing weightless Hamming distance & Doc build Sep 27, 2022
@ncassereau ncassereau marked this pull request as ready for review September 27, 2022 12:03
@rflamary rflamary merged commit e433775 into PythonOT:master Sep 27, 2022
@ncassereau ncassereau deleted the solve_bug_weightless_cdist branch September 27, 2022 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation build is failing ot.dist crashes for hamming distance without weights
2 participants