Skip to content

Commit

Permalink
[src] Fix FluidSurfaceMapping
Browse files Browse the repository at this point in the history
(cherry picked from commit 237568e)
  • Loading branch information
epernod committed Aug 29, 2024
1 parent 096efeb commit 4194892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SofaSphFluid/SPHFluidSurfaceMapping.inl
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ int SPHFluidSurfaceMapping<In, Out>::addFace(int p1, int p2, int p3, int nbp)
(unsigned)p2<(unsigned)nbp &&
(unsigned)p3<(unsigned)nbp)
{
SeqTriangles& triangles = *seqTriangles.beginEdit();
SeqTriangles& triangles = *d_seqTriangles.beginEdit();
int f = int(triangles.size());
triangles.push_back(Triangle(p1, p3, p2));
seqTriangles.endEdit();
d_seqTriangles.endEdit();
return f;
}
else
Expand Down

0 comments on commit 4194892

Please sign in to comment.