Commit fb4a2b0b authored by Praetorius, Simon's avatar Praetorius, Simon

small bugs in PetscWrapper corrected

parent 36baa791
......@@ -123,3 +123,5 @@ namespace AMDiS
} // end namespace Parallel
} // end namespace AMDiS
#endif
......@@ -66,7 +66,7 @@ namespace AMDiS
#if (PETSC_VERSION_MINOR >= 5)
return KSPGetOperators(ksp, Amat, Pmat);
#else
return KSPGetOperators(ksp, Amat, Pmat, SAME_NONZERO_PATTERN);
return KSPGetOperators(ksp, Amat, Pmat, PETSC_NULL);
#endif
}
......
Markdown is supported
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