aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/internal/Matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/Matrix.h')
-rw-r--r--src/internal/Matrix.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/internal/Matrix.h b/src/internal/Matrix.h
index 15042beed..c07aa2d08 100644
--- a/src/internal/Matrix.h
+++ b/src/internal/Matrix.h
@@ -84,8 +84,8 @@ class Matrix : public EigenBase<_Scalar, Matrix<_Scalar, _Rows, _Cols> >,
return Base::operator=(other);
}
- INHERIT_ASSIGNMENT_OPERATOR(Matrix, +=)
- INHERIT_ASSIGNMENT_OPERATOR(Matrix, -=)
+ EIGEN_INHERIT_ASSIGNMENT_OPERATOR(Matrix, +=)
+ EIGEN_INHERIT_ASSIGNMENT_OPERATOR(Matrix, -=)
explicit Matrix(int rows = 1, int cols = 1) : Storage(rows, cols) {}
template<typename OtherDerived>
@@ -124,6 +124,9 @@ EIGEN_MAKE_TYPEDEFS_ALL_SIZES(std::complex<int>, ci)
EIGEN_MAKE_TYPEDEFS_ALL_SIZES(std::complex<float>, cf)
EIGEN_MAKE_TYPEDEFS_ALL_SIZES(std::complex<double>, cd)
+#undef EIGEN_MAKE_TYPEDEFS_ALL_SIZES
+#undef EIGEN_MAKE_TYPEDEFS
+
} // namespace Eigen
#include "MatrixOps.h"