Commit 2a8b1d2f authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Add copy constructor in VectorSpaceOperation.

parent 396d5d20
......@@ -51,6 +51,15 @@ namespace se3
assert (Size == Eigen::Dynamic || size_ == Size);
}
/// Constructor
/// \param size size of the vector space: should be the equal to template
/// argument for static sized vector-spaces.
VectorSpaceOperation (const LieGroupDerived& other) : size_ (other.size_)
{
assert (size_ >= 0);
assert (Size == Eigen::Dynamic || size_ == Size);
}
Index nq () const
{
return size_;
......
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