Skip to content

Commit

Permalink
add petscfinalize
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Oct 28, 2024
1 parent 724b3b2 commit 005591c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/sunnonlinsol/petsc/test_sunnonlinsol_petscsnes.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ int main(int argc, char* argv[])
N_VDestroy(y0);
N_VDestroy(w);
SUNNonlinSolFree(NLS);
PetscFinalize();
SUNContext_Free(&sunctx);

/* Print result */
Expand Down

0 comments on commit 005591c

Please sign in to comment.