Commit 982bdbd7 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Small bugfix for non-dev PETSc version.

parent 8698e7fe
...@@ -186,11 +186,11 @@ namespace AMDiS { ...@@ -186,11 +186,11 @@ namespace AMDiS {
VecDestroy(&petscTmpVec); VecDestroy(&petscTmpVec);
KSPDestroy(&solver); KSPDestroy(&solver);
#else #else
MatDestroy(&petscMatrix); MatDestroy(petscMatrix);
VecDestroy(&petscRhsVec); VecDestroy(petscRhsVec);
VecDestroy(&petscSolVec); VecDestroy(petscSolVec);
VecDestroy(&petscTmpVec); VecDestroy(petscTmpVec);
KSPDestroy(&solver); KSPDestroy(solver);
#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