diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-19 19:57:32 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-19 19:57:32 +0100 |
commit | 54f3fbee246744d2cb3aeeb9c52ee32a159b29c5 (patch) | |
tree | c58da2addee1bfebfbcb073120ebd18c0306441a /Eigen/src/Core/util/IndexedViewHelper.h | |
parent | 7691723e3486196576c183045e50892b5d734170 (diff) |
Exploit fixed values in seq and reverse with C++98 compatibility
Diffstat (limited to 'Eigen/src/Core/util/IndexedViewHelper.h')
-rw-r--r-- | Eigen/src/Core/util/IndexedViewHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/IndexedViewHelper.h b/Eigen/src/Core/util/IndexedViewHelper.h index 5dca1926c..1171b2b2e 100644 --- a/Eigen/src/Core/util/IndexedViewHelper.h +++ b/Eigen/src/Core/util/IndexedViewHelper.h @@ -60,7 +60,7 @@ static const auto end = last+1; #else // Using a FixedExpr<1> expression is important here to make sure the compiler // can fully optimize the computation starting indices with zero overhead. -static const Symbolic::AddExpr<Symbolic::SymbolExpr<internal::symbolic_last_tag>,Symbolic::FixedExpr<1> > end(last+fix<1>()); +static const Symbolic::AddExpr<Symbolic::SymbolExpr<internal::symbolic_last_tag>,Symbolic::ValueExpr<Eigen::internal::fix_t<1> > > end(last+fix<1>()); #endif } // end namespace placeholders |