Skip to content

Commit

Permalink
Update BaseBeamInterpolation.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy authored Jan 6, 2025
1 parent c723b34 commit 953f55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BeamAdapter/component/BaseBeamInterpolation.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class BaseBeamInterpolation : public virtual sofa::core::objectmodel::BaseObject

/// spline base interpolation of points and transformation
void interpolatePointUsingSpline(unsigned int edgeInList, const Real& baryCoord, const Vec3& localPos, const VecCoord& x, Vec3& posResult) {
interpolatePointUsingSpline(edgeInList, baryCoord, localPos, x, posResult, true, sofa::core::vec_id::read_access::freePosition);
interpolatePointUsingSpline(edgeInList, baryCoord, localPos, x, posResult, true, sofa::core::vec_id::read_access::position);
}

void interpolatePointUsingSpline(unsigned int edgeInList, const Real& baryCoord, const Vec3& localPos,
Expand Down

0 comments on commit 953f55d

Please sign in to comment.