New user self-registration is currently disabled. Please email eigen-core-team @ if you need an account.
Bug 1229 - MatrixLogarithm fails on Map-ed matrix
MatrixLogarithm fails on Map-ed matrix
Product: Eigen
Classification: Unclassified
Component: Unsupported modules
3.3 (current stable)
All All
: Normal Compilation Problem
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2016-05-18 06:46 UTC by Viktor Gal
Modified: 2016-05-18 14:47 UTC (History)
2 users (show)

a simple example to reproduce the bug (1.23 KB, text/x-csrc)
2016-05-18 06:46 UTC, Viktor Gal
no flags Details

Description Viktor Gal 2016-05-18 06:46:52 UTC
Created attachment 707 [details]
a simple example to reproduce the bug

Create an Eigen matrix with Eigen::Map and try to calculate the log of it using development branch of Eigen (3.3+). This will cause the following compile error:
error: 'Options' is not a member of 'DerivedEvalTypeClean {aka Eigen::Map<Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >}'
     static const int Options = DerivedEvalTypeClean::Options;
Comment 1 Gael Guennebaud 2016-05-18 14:47:10 UTC
Thank you for the report:

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