Summary: | std::cbegin() returns non-const iterator | ||
---|---|---|---|
Product: | Eigen | Reporter: | James Beach <james> |
Component: | Core - general | Assignee: | Nobody <eigen.nobody> |
Status: | RESOLVED FIXED | ||
Severity: | Internal Design | CC: | chtz, gael.guennebaud, jacob.benoit.1, james |
Priority: | Normal | Keywords: | test-needed |
Version: | 3.4 (development) | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 814 |
Description
James Beach
2019-11-11 15:23:52 UTC
I guess we can just replace iterator begin() const; in VectorwiseOp.h by a const and non-const method (where only the non-const method returns a non-const iterator). I need to test if that breaks anything, though. Yeah, that should fix it. Let me know if there’s anything I can do. Thank you for the report. Fixed: https://bitbucket.org/eigen/eigen/commits/5f0ff9f34ddd/ -- 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/1774. |