Verified Commit 9a84d5d4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

math/tensor: add default constructor

parent 13e21e8f
......@@ -141,6 +141,10 @@ namespace pinocchio
return *this;
}
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Tensor()
: m_storage()
{
}
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit Tensor(Index dim1)
: m_storage(dim1)
{
......
Markdown is supported
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