This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1039 - redefining EIGEN_DEFAULT_DENSE_INDEX_TYPE leads to errors
Summary: redefining EIGEN_DEFAULT_DENSE_INDEX_TYPE leads to errors
Status: RESOLVED FIXED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.2
Hardware: All All
: Normal Compilation Problem
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 00:04 UTC by Joshua Pritikin
Modified: 2019-12-04 14:45 UTC (History)
3 users (show)



Attachments

Description Joshua Pritikin 2015-07-13 00:04:18 UTC
Similar to bug 551, Eigen 3.2.5 fails to compile in Eigen/src/Core/Assign.h when checking pointer alignment. The fix could be something like,

https://github.com/yixuan/RcppEigen/commit/42e183ec3794f9fa04c9e16098d98ff2d7fbbd39

Although there might be smarter ways to check alignment. I hadn't thought exhaustively about the best way to do it.

Thanks.
Comment 1 Christoph Hertzberg 2015-07-13 14:16:46 UTC
Thanks for the report. Fixed in 3.2 and devel:
https://bitbucket.org/eigen/eigen/commits/f780358f
https://bitbucket.org/eigen/eigen/commits/1c09cef3

We should probably add some unit-tests with custom Index types, but since this is a "sail at own risk"-feature anyways, it's not too urgent.
Comment 2 Nobody 2019-12-04 14:45:30 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/1039.

Note You need to log in before you can comment on or make changes to this bug.