Skip to content
Snippets Groups Projects
Commit ab3542a1 authored by Tom Fischer's avatar Tom Fischer
Browse files

fixed a bug in copy constructor of template class CRSMatrix

parent faee3285
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,7 @@ protected:
{
// copy the data
IDX_TYPE const* row_ptr(rhs.getRowPtrArray());
for (IDX_TYPE k(0); k<MatrixBase::_n_rows; k++) {
for (IDX_TYPE k(0); k<=MatrixBase::_n_rows; k++) {
_row_ptr[k] = row_ptr[k];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment