aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseFuzzy.h
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-09-23 12:58:14 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-09-23 12:58:14 +0200
commitde0d8a010e8cee66901786e0e2819beeaa5cb253 (patch)
treee4c4805a514260c256934234e0045106ec07b347 /Eigen/src/SparseCore/SparseFuzzy.h
parent72569f17ecbc37309291aa7f333c8236aba8ee3f (diff)
Suppress stupid gcc-4.4 warning
Diffstat (limited to 'Eigen/src/SparseCore/SparseFuzzy.h')
-rw-r--r--Eigen/src/SparseCore/SparseFuzzy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SparseCore/SparseFuzzy.h b/Eigen/src/SparseCore/SparseFuzzy.h
index 3e67cbf5f..a76c1a5e0 100644
--- a/Eigen/src/SparseCore/SparseFuzzy.h
+++ b/Eigen/src/SparseCore/SparseFuzzy.h
@@ -18,7 +18,7 @@ bool SparseMatrixBase<Derived>::isApprox(const SparseMatrixBase<OtherDerived>& o
{
using std::min;
const typename internal::nested_eval<Derived,2,PlainObject>::type actualA(derived());
- typename internal::conditional<IsRowMajor==OtherDerived::IsRowMajor,
+ typename internal::conditional<bool(IsRowMajor)==bool(OtherDerived::IsRowMajor),
const typename internal::nested_eval<OtherDerived,2,PlainObject>::type,
const PlainObject>::type actualB(other.derived());