Fix bugs exposed by enabling GPU asserts.

This commit is contained in:
Antonio Sánchez
2023-01-27 21:43:00 +00:00
committed by Rasmus Munk Larsen
parent ab8725d947
commit 17ae83a966
5 changed files with 19 additions and 18 deletions

View File

@@ -745,7 +745,7 @@ template<typename ExpressionType, int Direction> class VectorwiseOp
# endif
protected:
Index redux_length() const
EIGEN_DEVICE_FUNC Index redux_length() const
{
return Direction==Vertical ? m_matrix.rows() : m_matrix.cols();
}