aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-07-14 14:55:04 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2012-07-14 14:55:04 +0100
commit4ae3e0a9b8dccf2c72f111a2281228b9478757d8 (patch)
treed5dbe0a5fd3dde2d79c997611f848f71609c0ce4 /Eigen
parent79214745c7bb6d24a124f0595877efc1013d83bf (diff)
Evaluators: Fixed bug caused by Diagonal dynamic index change.
This caused the evaluators unit test to fail.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/CoreEvaluators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h
index 608fc9842..cca01251c 100644
--- a/Eigen/src/Core/CoreEvaluators.h
+++ b/Eigen/src/Core/CoreEvaluators.h
@@ -1148,7 +1148,7 @@ struct evaluator_impl<Diagonal<ArgType, DiagIndex> >
protected:
typename evaluator<ArgType>::nestedType m_argImpl;
- const internal::variable_if_dynamic<Index, XprType::DiagIndex> m_index;
+ const internal::variable_if_dynamicindex<Index, XprType::DiagIndex> m_index;
private:
EIGEN_STRONG_INLINE Index rowOffset() const { return m_index.value() > 0 ? 0 : -m_index.value(); }