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

Fix scipy again #433

Merged
merged 2 commits into from
Sep 2, 2022
Merged

Fix scipy again #433

merged 2 commits into from
Sep 2, 2022

Conversation

apaleyes
Copy link
Collaborator

@apaleyes apaleyes commented Sep 2, 2022

Issue #, if available: #421

Description of changes: Scipy minimize expects 1d inputs, and we were passing 2d for some unclear reason. Best part is that we were doing it intentionally, for no other reason, so the fix is just to remove a few symbols. Nice!

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

Codecov Report

Merging #433 (4288b38) into main (7218ac9) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #433   +/-   ##
=======================================
  Coverage   89.15%   89.15%           
=======================================
  Files         136      136           
  Lines        4703     4703           
  Branches      681      681           
=======================================
  Hits         4193     4193           
  Misses        393      393           
  Partials      117      117           
Impacted Files Coverage Δ
...sian_optimization/local_penalization_calculator.py 86.66% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@apaleyes apaleyes merged commit 2d1c206 into main Sep 2, 2022
@apaleyes apaleyes deleted the fix-scipy-again branch September 2, 2022 09:47
@mmahsereci
Copy link
Contributor

Nice, thanks! So weird, the bug seems to have been there since the begging.

@apaleyes
Copy link
Collaborator Author

apaleyes commented Sep 2, 2022

There is a warning about it in scipy that promises "i'll turn into an error after 1.11.0, fix me!". Well, 8 releases later it finally delivered on that promise. Could be that we ignored it all that time

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.

3 participants