aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Map.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 11:10:17 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-04-03 11:10:17 +0000
commitd1a29d6319d6919e0c3d1c624ad45d8202be1942 (patch)
treeb9882a823c7d08819037d341f7e61971304eeadf /Eigen/src/Core/Map.h
parente74fbfb2bc13dee268950361a957aea73bcefc21 (diff)
-new: recursive costs system, useful to determine automatically
when to evaluate arguments and when to meta-unroll. -use it in Product to determine when to eval args. not yet used to determine when to unroll. for now, not used anywhere else but that'll follow. -fix badness of my last commit
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r--Eigen/src/Core/Map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h
index 4872b3f60..cbb1633ad 100644
--- a/Eigen/src/Core/Map.h
+++ b/Eigen/src/Core/Map.h
@@ -47,7 +47,8 @@ struct ei_traits<Map<MatrixType> >
ColsAtCompileTime = MatrixType::ColsAtCompileTime,
MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
- Flags = MatrixType::Flags
+ Flags = MatrixType::Flags,
+ CoeffReadCost = NumTraits<Scalar>::ReadCost
};
};