Skip to content

Commit

Permalink
cleanup warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Jun 21, 2023
1 parent 0554c9d commit 0717561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surface/boundary_first_flattening.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ std::array<Vector<double>, 2> BFF::computeBoundaryPositions(const Vector<double>
for (Halfedge he : b.adjacentHalfedges()) {
size_t iV = bIdx[he.vertex()];
Edge e = he.edge();
GC_SAFETY_ASSERT(0 <= iV && iV < (int)nBoundary, "invalid boundary vertex index");
GC_SAFETY_ASSERT(iV < nBoundary, "invalid boundary vertex index");

targetLength(iV) = geo.edgeLengths[e] * exp(0.5 * (uBdy(bIdx[he.tailVertex()]) + uBdy(bIdx[he.tipVertex()])));

Expand Down

0 comments on commit 0717561

Please sign in to comment.