Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Jan 8, 2025
1 parent 37197bb commit 405966d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ UncoupledConstraintCorrection<DataTypes>::UncoupledConstraintCorrection(sofa::co
else
{
// Case: soft body
if constexpr (!sofa::type::isRigidType<DataTypes>())
if constexpr (!sofa::type::isRigidType<DataTypes>)
{
const VecReal &comp = d_compliance.getValue();
if (std::any_of(comp.begin(), comp.end(), [](const Real c) { return c == 0; }))
Expand Down

0 comments on commit 405966d

Please sign in to comment.