Summary: | Compilation error EIGEN_DEFINE_STL_LIST_SPECIALIZATION and IGEN_DEFINE_STL_DEQUE_SPECIALIZATION | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Eigen | Reporter: | Damien R <damienrg> | ||||||
Component: | Core - general | Assignee: | Nobody <eigen.nobody> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Unknown | CC: | chtz, gael.guennebaud, jacob.benoit.1 | ||||||
Priority: | Normal | ||||||||
Version: | unspecified | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Created attachment 652 [details]
patch
Great, thanks for the patch: devel: https://bitbucket.org/eigen/eigen/commits/99134de9db78/ 3.2: https://bitbucket.org/eigen/eigen/commits/e3e1645c150a/ -- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1164. |
Created attachment 651 [details] patch This is the same problem as #282 but for list and deque specialization. The patch is based r4201 and r4203 and the tests are based on stdvector_overload but without the test of continuous of data. I kept the following part of the test but I do not understand it. // do a lot of push_back such that the vector gets internally resized // (with memory reallocation) MatrixType* ref = &w[0]; for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) ... I think that I should be ref = &v[0] and ref==&v[0].