aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Dot.h
diff options
context:
space:
mode:
authorGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-01 21:23:43 +0100
committerGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-01 21:23:43 +0100
commitaeba0d865543634c9b3fe176cfe055268b305da5 (patch)
tree4ac8bc95abaca3c6baea068afdab8a88033adb22 /Eigen/src/Core/Dot.h
parent27873008d431a307bed9c200a12622a361af4d14 (diff)
fix two warnings(unused typedef, unused variable) and a typo
Diffstat (limited to 'Eigen/src/Core/Dot.h')
-rw-r--r--Eigen/src/Core/Dot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/Dot.h b/Eigen/src/Core/Dot.h
index 1d7f2262e..f4fb4db7e 100644
--- a/Eigen/src/Core/Dot.h
+++ b/Eigen/src/Core/Dot.h
@@ -70,9 +70,11 @@ MatrixBase<Derived>::dot(const MatrixBase<OtherDerived>& other) const
EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived)
EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived)
EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived)
+#if !(defined(EIGEN_NO_STATIC_ASSERT) && defined(EIGEN_NO_DEBUG))
typedef internal::scalar_conj_product_op<Scalar,typename OtherDerived::Scalar> func;
EIGEN_CHECK_BINARY_COMPATIBILIY(func,Scalar,typename OtherDerived::Scalar);
-
+#endif
+
eigen_assert(size() == other.size());
return internal::dot_nocheck<Derived,OtherDerived>::run(*this, other);