bug #1245: fix compilation with msvc

This commit is contained in:
Gael Guennebaud 2016-06-24 09:52:25 +02:00
parent a9c1e4d7b7
commit deb45ad4bc
2 changed files with 1 additions and 2 deletions

View File

@ -131,7 +131,6 @@ template<typename ExpressionType> class ArrayWrapper;
template<typename ExpressionType> class MatrixWrapper;
template<typename Derived> class SolverBase;
template<typename XprType> class InnerIterator;
template<typename ScalarA, typename ScalarB, typename BinaryOp=void> struct ScalarBinaryOpTraits;
namespace internal {
template<typename DecompositionType> struct kernel_retval_base;

View File

@ -439,7 +439,7 @@ T div_ceil(const T &a, const T &b)
*
* \sa CwiseBinaryOp
*/
template<typename ScalarA, typename ScalarB, typename BinaryOp>
template<typename ScalarA, typename ScalarB, typename BinaryOp=void>
struct ScalarBinaryOpTraits
#ifndef EIGEN_PARSED_BY_DOXYGEN
// for backward compatibility, use the hints given by the (deprecated) internal::scalar_product_traits class.