Skip to content

Commit

Permalink
COMP: Fix type conversion on initialization.
Browse files Browse the repository at this point in the history
error: no viable conversion from
  'VectorType' (aka 'Vector<double, 3U>') to
  'PointType' (aka 'Point<double, 3>')
  |     PointType Foot = tmp;
  |               ^      ~~~
  • Loading branch information
hjmjohnson committed Dec 1, 2024
1 parent a5fa1ce commit 8eadd99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ DeformableSimplexMesh3DFilter<TInputMesh, TOutputMesh>::ComputeGeometry()
double const distance = -tmpNormalProd;
tmp.SetVnlVector((data->pos).GetVnlVector() - distance * normal.GetVnlVector());

PointType Foot = tmp;
PointType Foot{ tmp.data() };
data->distance = ((data->circleCenter) - Foot).GetNorm();

data->eps = ComputeBarycentricCoordinates(Foot, data);
Expand Down

0 comments on commit 8eadd99

Please # to comment.