mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-01-18 17:31:19 +01:00
Fix dangling reference in VectorwiseOp::iterator
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
43a65a9cbd
commit
e9dfbad618
@@ -705,7 +705,7 @@ class VectorwiseOp {
|
||||
|
||||
protected:
|
||||
EIGEN_DEVICE_FUNC Index redux_length() const { return Direction == Vertical ? m_matrix.rows() : m_matrix.cols(); }
|
||||
ExpressionTypeNested m_matrix;
|
||||
ExpressionTypeNestedCleaned& m_matrix;
|
||||
};
|
||||
|
||||
// const colwise moved to DenseBase.h due to CUDA compiler bug
|
||||
|
||||
Reference in New Issue
Block a user