mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Based on code + help from Alex Stapleton:
*Add Eigen/StdVector header. Including it #includes<vector> and "Core" and generates a partial specialization of std::vector<T> for T=Eigen::Matrix<...> that will work even with vectorizable fixed-size Eigen types (working around a design issue in the c++ STL) *Add unit-test CCMAIL: alex.stapleton@gmail.com
This commit is contained in:
@@ -52,6 +52,8 @@ template <typename T, int Size, int MatrixOptions,
|
||||
template <typename T, int Size, int MatrixOptions> struct ei_matrix_array<T,Size,MatrixOptions,false>
|
||||
{
|
||||
T array[Size];
|
||||
ei_matrix_array() {}
|
||||
ei_matrix_array(ei_select_matrix_array_constructor_doing_absolutely_nothing) {}
|
||||
};
|
||||
|
||||
/** \internal
|
||||
|
||||
Reference in New Issue
Block a user