Verified Commit 750d69d4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

geometry: fix constructor from vector

parent 2c501960
Pipeline #14647 passed with stage
in 9 minutes and 55 seconds
...@@ -277,7 +277,7 @@ namespace eigenpy ...@@ -277,7 +277,7 @@ namespace eigenpy
static Quaternion* FromOneVector(const Vector4& v) static Quaternion* FromOneVector(const Vector4& v)
{ {
Quaternion* q(new Quaternion(v)); Quaternion* q(new Quaternion(v[3],v[0],v[1],v[2]));
return q; return q;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment