![]() Registered Member ![]()
|
When I define the following function:
template <typename Derived>
I can't get this calling code to compile: std::vector< Eigen::MatrixXf > xx; DoMany( xx); Shouldn't I be able to do something like that? |
![]() Moderator ![]()
|
This does not make sense because Eigen::MatrixBase<Derived> is an abstract base class. You cannot construct object of type Eigen::MatrixBase<Derived>. Simply make "DoMany" more generic:
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell