[cig-commits] r21971 - short/3D/PyLith/trunk/libsrc/pylith/topology

brad at geodynamics.org brad at geodynamics.org
Thu May 2 15:52:30 PDT 2013


Author: brad
Date: 2013-05-02 15:52:30 -0700 (Thu, 02 May 2013)
New Revision: 21971

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/topology/VisitorSubMesh.icc
Log:
Remove assert that is too restrictive (parallel).

Modified: short/3D/PyLith/trunk/libsrc/pylith/topology/VisitorSubMesh.icc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/topology/VisitorSubMesh.icc	2013-05-02 14:23:17 UTC (rev 21970)
+++ short/3D/PyLith/trunk/libsrc/pylith/topology/VisitorSubMesh.icc	2013-05-02 22:52:30 UTC (rev 21971)
@@ -278,7 +278,7 @@
   PetscErrorCode err;
   err = DMPlexCreateSubpointIS(dmMesh, &_indexSet);PYLITH_CHECK_ERROR(err);
   err = ISGetSize(_indexSet, &_size);PYLITH_CHECK_ERROR(err);assert(_size >= 0);
-  err = ISGetIndices(_indexSet, &_points);PYLITH_CHECK_ERROR(err);assert(_points);
+  err = ISGetIndices(_indexSet, &_points);PYLITH_CHECK_ERROR(err);
 } // constructor
 
 // ----------------------------------------------------------------------



More information about the CIG-COMMITS mailing list