[cig-commits] r6486 - short/3D/PyLith/trunk/unittests/libtests/meshio

knepley at geodynamics.org knepley at geodynamics.org
Fri Mar 30 19:44:32 PDT 2007


Author: knepley
Date: 2007-03-30 19:44:32 -0700 (Fri, 30 Mar 2007)
New Revision: 6486

Modified:
   short/3D/PyLith/trunk/unittests/libtests/meshio/TestMeshIO.cc
Log:
Bug fix for MeshIO test


Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/TestMeshIO.cc
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/TestMeshIO.cc	2007-03-31 02:35:07 UTC (rev 6485)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/TestMeshIO.cc	2007-03-31 02:44:32 UTC (rev 6486)
@@ -45,6 +45,7 @@
   ALE::Obj<Mesh>* meshHandle = new ALE::Obj<Mesh>;
   *meshHandle = new Mesh(PETSC_COMM_WORLD, cellDim);
   ALE::Obj<Mesh> mesh = *meshHandle;
+  mesh.addRef();
   ALE::Obj<sieve_type> sieve = new sieve_type(mesh->comm());
 
   const bool interpolate = false;



More information about the cig-commits mailing list