Commit b4391843 authored by jcarpent's avatar jcarpent
Browse files

[Motion] Correct return type for toVector return types

parent 389a8c81
......@@ -75,8 +75,8 @@ namespace se3
assert(v_like.size() == 6);
}
const Vector6 & toVector_impl() const { return Vector6(ref); }
Vector6 & toVector_impl() { return Vector6(ref); }
ToVectorConstReturnType toVector_impl() const { return ref; }
ToVectorReturnType toVector_impl() { return ref; }
// Getters
ConstAngularType angular_impl() const { return ConstAngularType(ref.derived(),ANGULAR); }
......
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