Commit 6c0756bc authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/linearalgebra/petsc/Operations.hpp' into 'master'

solve mem. leak in function residuum(...) in petsc/Operations.hpp

See merge request amdis/amdis!92
parents 1f42a3ff bebd0dd8
......@@ -16,6 +16,8 @@ namespace AMDiS {
PetscReal res;
VecNorm(r, NORM_2, &res);
VecDestroy(&r);
return res;
}
......
Supports Markdown
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