Skip to content

Commit 3d2f838

Browse files
committed
bug fix in maSnap.cc
1 parent 55c91ab commit 3d2f838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ma/maSnap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ void transferToClosestPointOnTriSplit(
644644
x[i] = getPosition(m, tv[i]);
645645
}
646646

647-
Vector testPt = x[0] * xi[0] + x[1] * xi[1] + x[2] * xi[3];
647+
Vector testPt = x[0] * xi[0] + x[1] * xi[1] + x[2] * xi[2];
648648
Vector targetPt;
649649

650650
m->getClosestPoint(g, testPt, targetPt, param);

0 commit comments

Comments
 (0)