![]() Registered Member ![]()
|
I'm trying to create an STL vector (std::vector) containing variable-length, double-precision Eigen vectors (Eigen::VectorXd). The following code generates a compiler error "Invalid template arguments".
I understand that there's an issue with constant-sized Eigen matrices/vectors (e.g., Eigen::Vector4f) and the STL classes, but the manual seems to imply that variable-sized matrices/vectors are OK. Am I missing something? Thanks in advance for the help! (I'm sorry if this is a dumb question, or if it's come up before; I did a few searches on this forum, but nothing relevant came up.) EDIT: Never mind! Problem solved! User error. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]