[cig-commits] r19389 - short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/faults
brad at geodynamics.org
brad at geodynamics.org
Thu Jan 19 11:38:07 PST 2012
Author: brad
Date: 2012-01-19 11:38:07 -0800 (Thu, 19 Jan 2012)
New Revision: 19389
Modified:
short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/faults/TopologyOps.cc
Log:
Fixed assertion.
Modified: short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/faults/TopologyOps.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/faults/TopologyOps.cc 2012-01-19 19:24:59 UTC (rev 19388)
+++ short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/faults/TopologyOps.cc 2012-01-19 19:38:07 UTC (rev 19389)
@@ -169,7 +169,7 @@
}
// This only works for uninterpolated meshes
- assert((mesh->depth() == 1) || (mesh->depth() == -1));
+ assert((mesh->depth() == 1) || (mesh->depth() == 0));
ALE::ISieveVisitor::PointRetriever<SieveMesh::sieve_type> sV(std::max(1, sieve->getMaxSupportSize()));
ALE::ISieveVisitor::PointRetriever<SieveMesh::sieve_type> cV(std::max(1, sieve->getMaxConeSize()));
for(PointSet::const_iterator fv_iter = fvBegin; fv_iter != fvEnd; ++fv_iter) {
More information about the CIG-COMMITS
mailing list