[MRG] raise error if mass mismatch in emd2 by clecoz · Pull Request #386 · PythonOT/POT

and others added 4 commits

June 20, 2022 15:28
… have the same mass (same as it already was in the function emd).
…atible with emd2 with multiple b.
The function test_emd_dimension_and_mass_mismatch (in test/test_ot.py) has been modified to check for mass mismatch with emd2.

@clecoz clecoz marked this pull request as draft

June 21, 2022 07:45

Camille Le Coz added 7 commits

June 21, 2022 10:43
…into emd2_check_weights_equal_sum

@clecoz clecoz marked this pull request as ready for review

June 21, 2022 13:48

@rflamary rflamary changed the title [WIP] raise error if mass mismatch in emd2 [MRG] raise error if mass mismatch in emd2

Jun 21, 2022

@clecoz clecoz deleted the emd2_check_weights_equal_sum branch

June 21, 2022 15:44