aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/CwiseUnaryOp.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-04-26 20:28:27 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-04-26 20:28:27 +0000
commit1ec2d21ca5a17aa865f8e311954b3addd9f10446 (patch)
tree3186398c69aee87abafe70e9f31ed49e1cbc957f /Eigen/src/Core/CwiseUnaryOp.h
parentb4c974d0597546e255edb3758a0bc58515674692 (diff)
Fixed a couple of issues introduced in previous commits.
Added a test for Triangular.
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryOp.h')
-rw-r--r--Eigen/src/Core/CwiseUnaryOp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h
index 287a157c5..5106254d2 100644
--- a/Eigen/src/Core/CwiseUnaryOp.h
+++ b/Eigen/src/Core/CwiseUnaryOp.h
@@ -52,7 +52,7 @@ struct ei_traits<CwiseUnaryOp<UnaryOp, MatrixType> >
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
Flags = (MatrixType::Flags & (
DefaultLostFlagMask | Like1DArrayBit
- | ei_functor_traits<UnaryOp>::IsVectorizable ? VectorizableBit : 0)),
+ | (ei_functor_traits<UnaryOp>::IsVectorizable ? VectorizableBit : 0))),
CoeffReadCost = MatrixType::CoeffReadCost + ei_functor_traits<UnaryOp>::Cost
};
};