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 bugs related to ScalarNonlinearFunction #429

Merged
merged 4 commits into from
Aug 8, 2024
Merged

Fix bugs related to ScalarNonlinearFunction #429

merged 4 commits into from
Aug 8, 2024

Conversation

odow
Copy link
Member

@odow odow commented Aug 8, 2024

Closes #428

This PR gets rid of _FUNCTIONS because it was obscuring a number of bugs, and I've also fixed the return of ObjectiveFunctionType if the function was nonlinear.

I think we mostly haven't run into this in the past because we're using caching in most places.

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.69%. Comparing base (8f44207) to head (cbe4830).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
+ Coverage   94.58%   94.69%   +0.10%     
==========================================
  Files           4        4              
  Lines         998     1018      +20     
==========================================
+ Hits          944      964      +20     
  Misses         54       54              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@odow odow merged commit 9804847 into master Aug 8, 2024
15 checks passed
@odow odow deleted the od/snf branch August 8, 2024 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

BoundsError calling MOI.set
1 participant