| Re: [eigen] ceres-solver fails to build with eigen 3.3~beta2 | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/eigen Archives
] 
I can reproduce this with the following simplified test:
typedef Eigen::MatrixXd Mat;
Mat foo(int size)
{
    Mat res = 1.0 * Mat::Ones(size, size) + 1.0 * Mat::Identity(size, size);
    return res;
}
The second 1.0* is optional (but should be added as unit test).
I guess Gael will be able to fix this (I'd have to take a deeper look 
into some recent changes first).
N.B.: scalar * Mat::Ones(rows, cols) could be simplified to 
Mat::Constant(scalar, rows, cols).
Christoph
On 2016-08-21 18:28, Philipp Huebner wrote:
Hey everyone,
I just confirmed that ceres-solver fails to build with eigen 3.3~beta2
whereas it builds just fine with eigen 3.3~beta1.
The corresponding bugreport (including the build log) is here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835037
Any help with this would be greatly appreciated!
Regards,
--
 Dipl. Inf., Dipl. Math. Christoph Hertzberg
 Universität Bremen
 FB 3 - Mathematik und Informatik
 AG Robotik
 Robert-Hooke-Straße 1
 28359 Bremen, Germany
 Zentrale: +49 421 178 45-6611
 Besuchsadresse der Nebengeschäftsstelle:
 Robert-Hooke-Straße 5
 28359 Bremen, Germany
 Tel.:    +49 421 178 45-4021
 Empfang: +49 421 178 45-6600
 Fax:     +49 421 178 45-4150
 E-Mail:  chtz@xxxxxxxxxxxxxxxxxxxxxxxx
 Weitere Informationen: http://www.informatik.uni-bremen.de/robotik