Regression in 3.3_beta1

Submitted by gladk

Assigned to Nobody

Link to original bugzilla bug (#1144)
Version: 3.3 (current stable)

Description

3.3_beta1 has a regression, which is demonstrated by the following code:

Eigen::Vector3f x(5,5,5);
Eigen::Matrix3f m = x.asDiagonal();

x = Eigen::Vector3f::Zero()+m*x;

In this case x will be zero [0,0,0], but should be [25,25,25].
Changing the order components "fixes" the problem:

x = Eigen::Vector3f::Zero()+m*x;

Blocking

#558 (closed)

Edited by Eigen Bugzilla