Skip to content

Commit 526b538

Browse files
committed
core: add missing noalias()
1 parent 1b6662d commit 526b538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/hpp/fcl/narrowphase/narrowphase.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ struct HPP_FCL_DLLAPI GJKSolver {
201201
if (gjk.hasPenetrationInformation(shape)) {
202202
gjk.getClosestPoints(shape, w0, w1);
203203
distance = gjk.distance;
204-
normal = tf1.getRotation() * (w0 - w1).normalized();
204+
normal.noalias() = tf1.getRotation() * (w0 - w1).normalized();
205205
p1 = p2 = tf1.transform((w0 + w1) / 2);
206206
} else {
207207
details::EPA epa(epa_max_face_num, epa_max_vertex_num,

0 commit comments

Comments
 (0)