diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-07-19 18:47:38 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-07-19 18:47:38 +0200 |
commit | 509a5fa77f1e2241123a0f22a2ea75a0e9267251 (patch) | |
tree | 41d417f73d17374866a3307a5226df2f9633adca /Eigen/src/Core/PlainObjectBase.h | |
parent | 2ca25920090724f2547989a96f7449db17cf3315 (diff) |
Fix IsRelocatable without C++11
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 016e76a53..da329fd4f 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -924,7 +924,7 @@ struct conservative_resize_like_impl #if EIGEN_HAS_TYPE_TRAITS static const bool IsRelocatable = std::is_trivially_copyable<typename Derived::Scalar>::value; #else - static const bool IsRelocatable = NumTraits<typename Derived::Scalar>::RequireInitialization; + static const bool IsRelocatable = !NumTraits<typename Derived::Scalar>::RequireInitialization; #endif static void run(DenseBase<Derived>& _this, Index rows, Index cols) { |