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

small bugs in PetscWrapper corrected

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