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

Small bugfix for non-dev PETSc version.

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