Skip to content

Conversation

@Sbhat92
Copy link
Contributor

@Sbhat92 Sbhat92 commented May 9, 2023

Fixes #753 : exception to non-scalar passed to solver.optimize

@Sbhat92 Sbhat92 changed the title exception to non-scalar passsed to solver.optimizer exception to non-scalar passsed to solver.optimizer #753 May 9, 2023
@Sbhat92
Copy link
Contributor Author

Sbhat92 commented May 11, 2023

Can I add a test case as well?

@gertjanvanzwieten
Copy link
Contributor

Can I add a test case as well?

Absolutely! I think the best place for that would be in tests/test_solver.py in the optimize class.

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.

early and informative exception when passing a non-scalar func to solver.optimize

2 participants