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 uninitialized variable #16750
Fix uninitialized variable #16750
Conversation
With this change, the test is now failing in the first three lines,
This corresponds to the relaxation parameter dealii/tests/lac/precondition_relaxation_01.cc Lines 346 to 360 in 3ccc91f
|
I will do. |
Thanks for the help! |
@kronbichler I have fixed the test and added some asserts. |
Thank you @peterrum, this looks much better now! |
DEAL::OK! 12.9800 21.7988 12.9800 21.7988 | ||
DEAL::OK! 6.18750 14.8024 6.18750 14.8024 | ||
DEAL::OK! 10.7121 19.5161 10.7121 19.5161 | ||
DEAL::OK! 15.6708 24.5042 15.6708 24.5042 |
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.
Let's make this output more than 10 digits. Otherwise, numdiff might trigger accidentally.
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.
Good idea, I adjusted the test and its output.
I saw this uninitialized variable when running a relaxation preconditioner with valgrind, and I believe it will also fix the error reported here:
https://cdash.dealii.org/viewTest.php?onlyfailed&buildid=2516
Related to #16747.