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: protected:
EIGEN_DEVICE_FUNC Index redux_length() const { return Direction == Vertical ? m_matrix.rows() : m_matrix.cols(); } 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 // const colwise moved to DenseBase.h due to CUDA compiler bug