Skip to content
Snippets Groups Projects
Commit d703c9c4 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

small error in petsc helpers corrected

parent f024b3cb
No related branches found
No related tags found
1 merge request!18Issue/petsc 3 7
......@@ -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);
......
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