Skip to content

[Type] Mat: Fix invertMatrix self-aliasing bug in Mat2x2/Mat3x3 - #6275

Open
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:fix_selfalias_mat
Open

[Type] Mat: Fix invertMatrix self-aliasing bug in Mat2x2/Mat3x3#6275
fredroy wants to merge 2 commits into
sofa-framework:masterfrom
fredroy:fix_selfalias_mat

Conversation

@fredroy

@fredroy fredroy commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Fix #6273

and fix the unit tests from

[with-all-tests]

These bugs are almost 20 years old 👴


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@fredroy fredroy added pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request labels Aug 31, 2026
@fredroy

fredroy commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

[ci-build][with-all-tests]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix Fix a bug pr: status to review To notify reviewers to review this pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Specialized version invertMatrix for 2x2 and 3x3 are not aliasing-safe

2 participants