From 7e45fa92a987ea7724dc42b563a7a7af0a9a584c Mon Sep 17 00:00:00 2001 From: mjr-deltares <45555666+mjr-deltares@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:11:18 +0100 Subject: [PATCH] fix(petsc): this got activated in previous PR, but it is not ready for that (#1436) * - this got activated in previous PR, but it is not ready for that * - fpret --- src/Solution/PETSc/PetscSolver.F90 | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Solution/PETSc/PetscSolver.F90 b/src/Solution/PETSc/PetscSolver.F90 index b72f53a54bd..fdfd83cbb25 100644 --- a/src/Solution/PETSc/PetscSolver.F90 +++ b/src/Solution/PETSc/PetscSolver.F90 @@ -422,8 +422,6 @@ subroutine petsc_destroy(this) call this%petsc_ctx%destroy() deallocate (this%petsc_ctx) - call VecDestroy(this%pc_context%diag, ierr) - CHKERRQ(ierr) deallocate (this%pc_context) end subroutine petsc_destroy