New user self-registration is disabled due to spam. Please email eigen-core-team @ if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 1039 - redefining EIGEN_DEFAULT_DENSE_INDEX_TYPE leads to errors
Summary: redefining EIGEN_DEFAULT_DENSE_INDEX_TYPE leads to errors
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.2
Hardware: All All
: Normal Compilation Problem
Assignee: Nobody
Depends on:
Reported: 2015-07-13 00:04 UTC by Joshua Pritikin
Modified: 2015-07-13 14:16 UTC (History)
3 users (show)


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,

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

Comment 1 Christoph Hertzberg 2015-07-13 14:16:46 UTC
Thanks for the report. Fixed in 3.2 and devel:

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.

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