Skip to content
Snippets Groups Projects
Commit cf001804 authored by wenqing's avatar wenqing
Browse files

changed one printing message

parent 43271259
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ bool PETScLinearSolver::solve(const PETScVector &b, PETScVector &x) ...@@ -67,7 +67,7 @@ bool PETScLinearSolver::solve(const PETScVector &b, PETScVector &x)
} }
else if(reason == KSP_DIVERGED_ITS) else if(reason == KSP_DIVERGED_ITS)
{ {
PetscPrintf(PETSC_COMM_WORLD, "\nWarning: maximum iteration reached.\n"); PetscPrintf(PETSC_COMM_WORLD, "\nWarning: maximum number of iterations reached.\n");
converged = false; converged = false;
} }
else else
......
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