[cig-commits] r16662 - short/3D/PyLith/trunk/libsrc/faults

brad at geodynamics.org brad at geodynamics.org
Thu May 6 13:40:04 PDT 2010


Author: brad
Date: 2010-05-06 13:40:04 -0700 (Thu, 06 May 2010)
New Revision: 16662

Modified:
   short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
Log:
Added check for update.

Modified: short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc	2010-05-06 20:39:21 UTC (rev 16661)
+++ short/3D/PyLith/trunk/libsrc/faults/CohesiveTopology.cc	2010-05-06 20:40:04 UTC (rev 16662)
@@ -850,6 +850,8 @@
 	++v_iter) {
       if (fRenumbering.find(*v_iter) == fRenumberingEnd)
 	continue;
+      assert(fCoordinatesDim->getFiberDimension(fRenumbering[*v_iter]) ==
+	     coordinatesDim->getFiberDimension(*v_iter));
       fCoordinatesDim->updatePoint(fRenumbering[*v_iter], 
 				   coordinatesDim->restrictPoint(*v_iter));
     } // for



More information about the CIG-COMMITS mailing list