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 some NaN #2332

Draft
wants to merge 3 commits into
base: devel
Choose a base branch
from
Draft

fix some NaN #2332

wants to merge 3 commits into from

Commits on Jul 16, 2024

  1. test: setZero()

    fix for `-DINITIALIZE_WITH_NAN`:
    ```
    …/pinocchio/unittest/constrained-dynamics.cpp(1512): error: in "Test/test_sparse_forward_dynamics_in_contact_specifying_joint2id_case3D": check contact_force.isApprox(-contact_force_bis) has failed
    contact_force:  6.13593  2.26573 -1.29027      nan      nan      nan
    contact_force_bis: -6.13593 -2.26573  1.29027        0        0        0
    cdata.c1Mc2:
    ```
    nim65s committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b9e8bcb View commit details
    Browse the repository at this point in the history
  2. RigidConstraintDataTpl: update ctor

    fix test-cpp-constraint-variants with `-DINITIALIZE_WITH_NAN`:
    ```
    Running 2 test cases...
    …/pinocchio/unittest/constraint-variants.cpp(50): error: in "Test/contact_visitors": check ConstraintData(rcd) == ConstraintData(rcd) has failed
    …/pinocchio/unittest/constraint-variants.cpp(51): error: in "Test/contact_visitors": check ConstraintData(rcd) == rcd has failed
    …/pinocchio/unittest/constraint-variants.cpp(62): error: in "Test/contact_visitors": check rcd == constraint_data has failed
    ```
    nim65s committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    4aa482a View commit details
    Browse the repository at this point in the history
  3. add changelog entry

    nim65s committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    126903b View commit details
    Browse the repository at this point in the history