From deb45ad4bc5542b7c66cfb3b465ac106294c3ddd Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 24 Jun 2016 09:52:25 +0200 Subject: [PATCH] bug #1245: fix compilation with msvc --- Eigen/src/Core/util/ForwardDeclarations.h | 1 - Eigen/src/Core/util/Meta.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index 830f20f90..1c90c0e2b 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -131,7 +131,6 @@ template class ArrayWrapper; template class MatrixWrapper; template class SolverBase; template class InnerIterator; -template struct ScalarBinaryOpTraits; namespace internal { template struct kernel_retval_base; diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index a4a491ff8..02b3d961a 100644 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -439,7 +439,7 @@ T div_ceil(const T &a, const T &b) * * \sa CwiseBinaryOp */ -template +template struct ScalarBinaryOpTraits #ifndef EIGEN_PARSED_BY_DOXYGEN // for backward compatibility, use the hints given by the (deprecated) internal::scalar_product_traits class.