diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-10-20 11:42:34 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2015-10-20 11:42:34 -0700 |
commit | 73b8e719ae28fe0a4b22cc9720fa46ce601541f9 (patch) | |
tree | 46de91f0a8b6d8ee9c0ca3a4d17d22f7a21c0664 /unsupported/Eigen/CXX11/src/Tensor | |
parent | eaf4b98180d7606abba69133e39e23537ced79e5 (diff) |
Removed bogus assertion
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h index 79d802ea9..e9d3437b7 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h @@ -164,8 +164,6 @@ struct TensorEvaluator<const TensorConversionOp<TargetType, ArgType>, Device> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device) : m_impl(op.expression(), device) { - - EIGEN_STATIC_ASSERT((internal::is_same<Scalar, bool>::value), YOU_MADE_A_PROGRAMMING_MISTAKE); } EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Dimensions& dimensions() const { return m_impl.dimensions(); } |