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

Matrix: print full matrix already if only one element is not symmetric #23253

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Jun 11, 2024

Follow up from #22629, found while working on #23245. It's quite hard to read a print of a matrix that omits some of the elements because they are symmetric at this very point, but not the full matrix is.

With current main:
image

After this PR:
image

@sfuhrer sfuhrer requested review from dagar and bresch June 11, 2024 08:46
@dagar
Copy link
Member

dagar commented Jun 11, 2024

Minor clang tidy failure.

image

@sfuhrer sfuhrer force-pushed the pr-matrix-print-all-elements-main branch from f30ec2c to 332f8c3 Compare June 11, 2024 14:06
@sfuhrer
Copy link
Contributor Author

sfuhrer commented Jun 11, 2024

Minor clang tidy failure.

Ups that printf was purely for debug purposes, removed it.

@dagar dagar merged commit 5dd7633 into main Jun 12, 2024
93 checks passed
@dagar dagar deleted the pr-matrix-print-all-elements-main branch June 12, 2024 01:14
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.

2 participants