[cig-commits] [commit] baagaard/fix-custom-faultpc: Fix bug. Remove superfluous DMDestroy(). (c0c0725)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Oct 27 15:56:28 PDT 2014


Repository : https://github.com/geodynamics/pylith

On branch  : baagaard/fix-custom-faultpc
Link       : https://github.com/geodynamics/pylith/compare/e4e20c9bc29ab283e7df1dc0f209ab20674370ba...1b880b2d58cfed64bc4b264149b85358d8c79991

>---------------------------------------------------------------

commit c0c0725cfc5e3228d314a079ab93d563d01d25cc
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Mon Oct 27 15:38:03 2014 -0700

    Fix bug. Remove superfluous DMDestroy().


>---------------------------------------------------------------

c0c0725cfc5e3228d314a079ab93d563d01d25cc
 libsrc/pylith/faults/FaultCohesiveLagrange.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libsrc/pylith/faults/FaultCohesiveLagrange.cc b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
index 5ec80eb..9bc70d3 100644
--- a/libsrc/pylith/faults/FaultCohesiveLagrange.cc
+++ b/libsrc/pylith/faults/FaultCohesiveLagrange.cc
@@ -761,7 +761,6 @@ pylith::faults::FaultCohesiveLagrange::calcPreconditioner(PetscMat* const precon
   } // for
   err = MatDestroy(&jacobianNP);PYLITH_CHECK_ERROR(err);
   PetscLogFlops(numVertices*spaceDim*6);
-  err = DMDestroy(&lagrangeDM);PYLITH_CHECK_ERROR(err);
 
 #if !defined(DETAILED_EVENT_LOGGING)
     _logger->eventEnd(computeEvent);



More information about the CIG-COMMITS mailing list