Skip to content

Comments

[Mapping] Fix rigid mapping init #5943

Open
bakpaul wants to merge 2 commits intosofa-framework:masterfrom
bakpaul:26_02_fis_rigid_mapping_init
Open

[Mapping] Fix rigid mapping init #5943
bakpaul wants to merge 2 commits intosofa-framework:masterfrom
bakpaul:26_02_fis_rigid_mapping_init

Conversation

@bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Feb 6, 2026

Use right vector size for checking. This fixes a crash when the mapping was used with only "useX0=True".

I know this component needs way more fixing/refactoring. But this is just a fix keeping the ols implementation untouched for now.


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).

@bakpaul bakpaul added pr: fix Fix a bug pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request labels Feb 6, 2026
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
@fredroy fredroy removed the pr: fast merge Minor change that can be merged without waiting for the 7 review days label Feb 19, 2026
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.

3 participants