mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Evaluators: Fixed bug caused by Diagonal dynamic index change.
This caused the evaluators unit test to fail.
This commit is contained in:
parent
79214745c7
commit
4ae3e0a9b8
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user