]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not destroy a PETSc matrix twice. 3991/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 20 Feb 2017 21:22:42 +0000 (16:22 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 20 Feb 2017 21:22:42 +0000 (16:22 -0500)
source/lac/petsc_parallel_sparse_matrix.cc

index 069667ac51dd54228ae576f6de1156e546451ee7..87626f8eaa7cfcd21408eb55eefd70a86aa15df6 100644 (file)
@@ -196,7 +196,6 @@ namespace PETScWrappers
       this->communicator = communicator;
 
       // get rid of old matrix and generate a new one
-      destroy_matrix (matrix);
       const PetscErrorCode ierr = destroy_matrix (matrix);
       AssertThrow (ierr == 0, ExcPETScError (ierr));
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.