0
0
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:
Charles Schlosser
2025-08-14 00:04:01 +00:00
committed by Rasmus Munk Larsen
parent 43a65a9cbd
commit e9dfbad618

View File

@@ -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