From 06fd84cdb196c8002631580c0642641926fd7a9d Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 4 Jan 2009 21:20:42 +0000 Subject: [PATCH] Fix bug in Matrix, in determining whether to overload operator new with an aligned one, introduced in r905543 --- Eigen/src/Core/Matrix.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 22d8bd8a7..698c8fc5c 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -117,17 +117,17 @@ struct ei_traits > }; }; -template +template struct ei_matrix_with_aligned_operator_new : WithAlignedOperatorNew {}; -template -struct ei_matrix_with_aligned_operator_new {}; +template +struct ei_matrix_with_aligned_operator_new {}; template class Matrix : public MatrixBase > - , public ei_matrix_with_aligned_operator_new<_Options> + , public ei_matrix_with_aligned_operator_new<_Scalar, _Rows, _Cols, _Options> { public: EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix)