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

two typos in the message printing of PETSc solver

parent 72b688ab
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)
}
else if(reason == KSP_DIVERGED_ITS)
{
PetscPrintf(PETSC_COMM_WORLD, "\nWaning: maximum iteration reached.\n");
PetscPrintf(PETSC_COMM_WORLD, "\nWarning: maximum iteration reached.\n");
converged = false;
}
else
......@@ -85,7 +85,7 @@ bool PETScLinearSolver::solve(const PETScVector &b, PETScVector &x)
else if(reason == KSP_DIVERGED_NONSYMMETRIC)
{
PetscPrintf(PETSC_COMM_WORLD, "\nMatrx or preconditioner is unsymmetric but KSP requires symmetric.\n");
PetscPrintf(PETSC_COMM_WORLD, "\nMatrix or preconditioner is unsymmetric but KSP requires symmetric.\n");
}
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