sofa icon indicating copy to clipboard operation
sofa copied to clipboard

[FEM.Elastic] Fix small deformation in TriangleFEMForceField

Open alxbilger opened this issue 1 year ago • 1 comments

_rotatedInitialElements is not used in the small method. It is not resized (size = 0), therefore it leads to a crash. This instruction has been introduced in https://github.com/sofa-framework/sofa/pull/2287. I reverted this line only by the original code.


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

alxbilger avatar Jun 20 '24 14:06 alxbilger

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

alxbilger avatar Jun 21 '24 07:06 alxbilger