Commit a11b6502 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixed sequentialForRows in SparseMatrix.

parent de910258
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -740,7 +740,7 @@ SparseMatrixView< Real, Device, Index, MatrixType, SegmentsView, ComputeReal >::
sequentialForRows( IndexType begin, IndexType end, Function& function ) const
{
   for( IndexType row = begin; row < end; row ++ )
      this->forElements( row, row + 1, function );
      this->forRows( row, row + 1, function );
}

template< typename Real,
@@ -755,7 +755,7 @@ SparseMatrixView< Real, Device, Index, MatrixType, SegmentsView, ComputeReal >::
sequentialForRows( IndexType begin, IndexType end, Function& function )
{
   for( IndexType row = begin; row < end; row ++ )
      this->forElements( row, row + 1, function );
      this->forRows( row, row + 1, function );
}

template< typename Real,