Fix compilation.

This commit is contained in:
Gael Guennebaud 2016-11-23 22:17:52 +01:00
parent 21d0286d81
commit 308961c05e

View File

@ -292,7 +292,7 @@ namespace Eigen
EulerAngles<NewScalarType, System> cast() const EulerAngles<NewScalarType, System> cast() const
{ {
EulerAngles<NewScalarType, System> e; EulerAngles<NewScalarType, System> e;
e.angles() = angles().cast<NewScalarType>(); e.angles() = angles().template cast<NewScalarType>();
return e; return e;
} }
}; };