diff --git a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h index feaeeaf5a..0abd12210 100755 --- a/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +++ b/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h @@ -67,7 +67,7 @@ template class AutoDiffScalar : public internal::auto_diff_special_op <_DerType, !internal::is_same::type>::Scalar, - typename NumTraits::type>::Scalar>::Real>::value> + typename NumTraits::type>::Scalar>::Real>::value> { public: typedef internal::auto_diff_special_op @@ -497,29 +497,29 @@ struct make_coherent_impl -struct ScalarBinaryOpTraits,A_Scalar> +template +struct ScalarBinaryOpTraits,A_Scalar,BinOp> { enum { Defined = 1 }; typedef Matrix ReturnType; }; -template -struct ScalarBinaryOpTraits > +template +struct ScalarBinaryOpTraits, BinOp> { enum { Defined = 1 }; typedef Matrix ReturnType; }; -template -struct ScalarBinaryOpTraits,typename DerType::Scalar> +template +struct ScalarBinaryOpTraits,typename DerType::Scalar,BinOp> { enum { Defined = 1 }; typedef AutoDiffScalar ReturnType; }; -template -struct ScalarBinaryOpTraits > +template +struct ScalarBinaryOpTraits, BinOp> { enum { Defined = 1 }; typedef AutoDiffScalar ReturnType;