pyoptsparse
pyoptsparse copied to clipboard
Set fail flag to True if `funcs` or `funcsSens` contain `nan` or `inf` values
Type of issue
What types of issue is it? Select the appropriate type(s) that describe this issue
- New feature (non-breaking change which adds functionality)
Description
Current behavior
There is no error checking for if funcs and funcsSens contain either nan or inf values.
Expected behavior
There should be error checking, probably in the _masterFunc2 call. The fail flag should be set if either dictionaries contain any values which are either nan or inf.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.