Merge branch 'fix-eigen-build-error' into 'master'

Fix #72: Eigen tests fail to compile on Linux with Eigen 3.3.7

Closes #72

See merge request OpenMesh/OpenMesh!257
This commit is contained in:
Jan Möbius
2020-04-20 07:58:57 +02:00

View File

@@ -88,7 +88,7 @@ namespace Eigen {
}
template <typename Derived>
MatrixBase<Derived> normalize(MatrixBase<Derived> &x) {
MatrixBase<Derived> &normalize(MatrixBase<Derived> &x) {
x /= x.norm();
return x;
}