diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-07-22 17:01:34 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-07-22 17:01:34 +0200 |
commit | 7f15f27a9e239bd386541b9ff33ace35fb2a6994 (patch) | |
tree | 53bac95f45adc190bb945ba0e7afc4ec41c3b356 /Eigen/src/Core/PlainObjectBase.h | |
parent | 922694a2d1531b6c50fc26a96b7d998089da72bf (diff) |
Workaround ambiguous call of init1 with MSVC.
Diffstat (limited to 'Eigen/src/Core/PlainObjectBase.h')
-rw-r--r-- | Eigen/src/Core/PlainObjectBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index b968b325e..82d96eb92 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -721,7 +721,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type EIGEN_STRONG_INLINE void _init1(const Index& val0, typename internal::enable_if< (!internal::is_same<Index,Scalar>::value) && Base::SizeAtCompileTime==1 - && internal::is_convertible<T, Scalar>::value,T>::type* = 0) + && internal::is_convertible<T, Scalar>::value,T*>::type* = 0) { EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, 1) m_storage.data()[0] = Scalar(val0); |