Skip to content

Commit 56b6cea

Browse files
committed
[algorithm] small change to fix ci
1 parent 35d0739 commit 56b6cea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sofa/collisionAlgorithm/algorithm/InsertionAlgorithm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class InsertionAlgorithm : public BaseAlgorithm
136136

137137
const bool isProjective = d_projective.getValue();
138138
const SReal punctureForceThreshold = d_punctureForceThreshold.getValue();
139-
for (const auto& itTip : *l_tipGeom)
139+
for (auto& itTip : *l_tipGeom)
140140
{
141141
BaseProximity::SPtr tipProx = createTipProximity(itTip.element());
142142
if (!tipProx) continue;
@@ -181,7 +181,7 @@ class InsertionAlgorithm : public BaseAlgorithm
181181
auto createShaftProximity =
182182
Operations::CreateCenterProximity::Operation::get(l_shaftGeom->getTypeInfo());
183183
auto projectOnShaft = Operations::Project::Operation::get(l_shaftGeom);
184-
for (const auto& itShaft : *l_shaftGeom)
184+
for (auto& itShaft : *l_shaftGeom)
185185
{
186186
BaseProximity::SPtr shaftProx = createShaftProximity(itShaft.element());
187187
if (!shaftProx) continue;

0 commit comments

Comments
 (0)