[eigen] Assignment to triangular view fails

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi Guys,

Eigen::MatrixXd A(10,10);

A.triangularView<Eigen::Upper>().setConstant(1.0);  // Works
A.triangularView<Eigen::Upper>() = 1.0;  // Fails to compile

Is this by design or a bug?

Thanks,
Sameer





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/