Commit 1d7b077e authored by Luca Pasquale's avatar Luca Pasquale
Browse files

MatrixEpetra<DataType>::removeZeros() now correctly uses meanNumEntries()

parent 2f124a28
......@@ -736,7 +736,7 @@ void MatrixEpetra<DataType>::removeZeros()
{
if ( M_epetraCrs->Filled() )
{
Int meanNumEntries = 1/*this->getMeanNumEntries()*/;
Int meanNumEntries = this->meanNumEntries();
matrix_ptrtype tmp ( M_epetraCrs );
M_epetraCrs.reset (new matrix_type ( Copy, M_epetraCrs->RowMap(), meanNumEntries ) );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment