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

small error in petsc helpers corrected

parent f024b3cb
......@@ -126,7 +126,7 @@ namespace AMDiS
// functions for PETSc API changes
namespace petsc
{
inline PetscErrorCode options_view(etscViewer viewer)
inline PetscErrorCode options_view(PetscViewer viewer)
{
#if (PETSC_VERSION_MINOR >= 7)
return PetscOptionsView(PETSC_NULL, PetscViewer);
......@@ -153,7 +153,7 @@ namespace AMDiS
#endif
}
inline PetscErrorCode ksp_get_operators(KSP ksp, Mat Amat,Mat Pmat)
inline PetscErrorCode ksp_get_operators(KSP ksp, Mat *Amat,Mat *Pmat)
{
#if (PETSC_VERSION_MINOR >= 5)
return KSPGetOperators(ksp, Amat, Pmat);
......
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