-
Notifications
You must be signed in to change notification settings - Fork 250
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
[Core] Fix norm in residual criteria and revert tests to original values #2976
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @marandra !
this PR seems fine to me, but please also wait for the response of others
also FYI @KlausBSautter since he made those tests
@marandra Thanks for fixing this. I'd however ask you to wait for a while to merge, since I suspect that the trilinos version will have the same mistake. Id like to test it during the afternoon and push a fix to this branch if necessary. |
@jcotela I suspected that it could impact MPI or other parts of the code. Feel free to merge and delete the branch when you are done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ups, sorry
Ok the trilinos test is still failing, but we (@philbucher and I) are not convinced that it is due to the residual criteria itself. We would merge as is and fix the test later. |
So we merge then? We need to re-approve. |
Yes. Thanks for the re-approval, too. |
Thanks! |
This PR fixes a bug in the computation of the 2-norm (missing sqrt), introduced between commits 11377ef and ba897e3
Most importantly, it reverts tolerance values used in a Structural Mechanics test to the original values, so tests are passing again. The test failed after the modification of the computation of the norm, so the test was changed. I understand that with the modification in the routine, it was expected different results, so a change in the test might be needed. This is just a remainder to be VERY CAREFUL when modifying tests, as it completely defeats their purpose.