Closed jrai51 closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +0.02
:tada:
Comparison is base (
7fc3f44
) 94.93% compared to head (44077dc
) 94.95%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Turns out I was using an older version of scipy rather than a newer one... Occam's Razor?
scipy.optimize.linear_sum_assignment no longer accepts a flag to accept maximization problems. Additionally, it does not accept infinity values. This issue became prevalent in running StoneSoup's initiator/deleter tutorial, which would not work due to this change. Problem was fixed by replacing infinity values with sys.maxsize, and simply making an if statement to check if probability_flag is True, indicating a maximization problem, then just negating the matrix.
Now passes all test cases.