Skip to content

Commit 750d69d

Browse files
committed
geometry: fix constructor from vector
1 parent 2c50196 commit 750d69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/eigenpy/quaternion.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ namespace eigenpy
277277

278278
static Quaternion* FromOneVector(const Vector4& v)
279279
{
280-
Quaternion* q(new Quaternion(v));
280+
Quaternion* q(new Quaternion(v[3],v[0],v[1],v[2]));
281281
return q;
282282
}
283283

0 commit comments

Comments
 (0)