This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 1164

Summary: Compilation error EIGEN_DEFINE_STL_LIST_SPECIALIZATION and IGEN_DEFINE_STL_DEQUE_SPECIALIZATION
Product: Eigen Reporter: Damien R <damienrg>
Component: Core - generalAssignee: 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:
Description Flags
patch
none
patch none

Description Damien R 2016-02-03 10:39:36 UTC
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].
Comment 1 Damien R 2016-02-03 10:54:01 UTC
Created attachment 652 [details]
patch
Comment 2 Gael Guennebaud 2016-02-03 17:14:35 UTC
Great, thanks for the patch:

devel: https://bitbucket.org/eigen/eigen/commits/99134de9db78/
3.2:   https://bitbucket.org/eigen/eigen/commits/e3e1645c150a/
Comment 3 Nobody 2019-12-04 15:25:33 UTC
-- 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.