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

Fix MatrixIterator comparison operator for C++20 #14937

Merged

Conversation

masterleinad
Copy link
Member

While looking at #14936 some tests were failing because of an ambiguous comparison operator for MatrixIterator.
Since C++20, also comparisons with swapped arguments are considered and in this case, one of the arguments had a different template argument. Templating the comparison resolves this ambiguity.

@masterleinad
Copy link
Member Author

/rebuild

@kronbichler kronbichler merged commit 0d60e74 into dealii:master Mar 22, 2023
11 checks passed
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

3 participants