Compilation error when using triangular view
Submitted by Lauri Berkovits
Assigned to Nobody
Link to original bugzilla bug (#1398)
Version: 3.3 (current stable)
Operating system: Linux
I tried to change my old Eigen 3.2.x into latest stable release 3.3.3.
const float c = 1.234; MatrixXcf C = c*MatrixXcf::Ones(5,5).triangularView<Lower>();
leads to compilation errors ("no match for operator*, template argument deduction/substitution failed etc.."). This can be easily worked around:
// this is OK: MatrixXcf A = MatrixXcf::Ones(5,5).triangularView<Lower>(); MatrixXcf C = c * A;
so I am not sure if this is bug or intented behavior.