mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 08:09:36 +08:00
Fix compilation with ICC that was unable to instanciate Scaling from Eigen's namespace.
This commit is contained in:
parent
fa17a6da75
commit
fe2c8e1c36
@ -402,8 +402,8 @@ template<typename Scalar, int Mode, int Options> void transformations()
|
||||
Rotation2D<double> r2d1d = r2d1.template cast<double>();
|
||||
VERIFY_IS_APPROX(r2d1d.template cast<Scalar>(),r2d1);
|
||||
|
||||
t20 = Translation2(v20) * (Rotation2D<Scalar>(s0) * Scaling(s0));
|
||||
t21 = Translation2(v20) * Rotation2D<Scalar>(s0) * Scaling(s0);
|
||||
t20 = Translation2(v20) * (Rotation2D<Scalar>(s0) * Eigen::Scaling(s0));
|
||||
t21 = Translation2(v20) * Rotation2D<Scalar>(s0) * Eigen::Scaling(s0);
|
||||
VERIFY_IS_APPROX(t20,t21);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user