[cig-commits] r22007 - short/3D/PyLith/trunk/libsrc/pylith/meshio

brad at geodynamics.org brad at geodynamics.org
Wed May 8 19:26:42 PDT 2013


Author: brad
Date: 2013-05-08 19:26:42 -0700 (Wed, 08 May 2013)
New Revision: 22007

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnSubset.cc
Log:
Code cleanup.

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnSubset.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnSubset.cc	2013-05-09 00:03:18 UTC (rev 22006)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnSubset.cc	2013-05-09 02:26:42 UTC (rev 22007)
@@ -90,8 +90,7 @@
 { // subdomainMesh
   PYLITH_METHOD_BEGIN;
 
-  delete _submesh; _submesh = new topology::SubMesh(mesh, _label.c_str());
-  assert(_submesh);
+  delete _submesh; _submesh = new topology::SubMesh(mesh, _label.c_str());assert(_submesh);
 
   PYLITH_METHOD_RETURN(*_submesh);
 } // subdomainMesh



More information about the CIG-COMMITS mailing list