mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix compilation.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user