Skip to content
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

Bugfix in MGTwoLevelTransfer::interpolate: forgot to copy vector #12344

Merged
merged 2 commits into from
May 29, 2021

Conversation

kronbichler
Copy link
Member

This is a serious bug in the interpolate functions (and I spent more than hours on bisecting/backtracing an application code before looking here) that slipped into with #12012 as far as I can tell.

The main problem was that we never test the result of the interpolation - well, we do write out some vtk files in a test but do not introspect them at all. Now I at least check the norm that would have sufficed to uncover the bug.

Copy link
Member

@peterrum peterrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It used to work ;) But yes this test was insufficient... Thanks for fixing this issue!

@peterrum
Copy link
Member

(and I spent more than hours on bisecting/backtracing an application code before looking here)

... and sorry for wasting your time ;)

@peterrum peterrum merged commit 861c0ba into dealii:master May 29, 2021
@peterrum
Copy link
Member

@kronbichler Would you mind to open a PR for the release branch. This is a bug which needs to be fixed before release!

@kronbichler kronbichler deleted the fix_interpolate_to_mg branch May 29, 2021 09:26
tamiko added a commit that referenced this pull request May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants