Skip to content

shrink allclose tolerance based on machine precision - #248

Open
Asthelen wants to merge 2 commits into
OpenMDAO:mainfrom
Asthelen:allclose_tolerance
Open

Asthelen wants to merge 2 commits into
OpenMDAO:mainfrom
Asthelen:allclose_tolerance

Conversation

@Asthelen

Copy link
Copy Markdown
Collaborator

When reuse_dumped_json is turned on, MPhys currently checks for the same design using numpy's allclose function with the default tolerances. This sets tolerance based on machine precision so that small design perturbations do not use the same dumped json output file.

This branch has not been deployed

No deployments
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.

1 participant