[cig-commits] r14442 - short/3D/PyLith/branches/pylith-swig/libsrc/topology
brad at geodynamics.org
brad at geodynamics.org
Tue Mar 24 18:11:09 PDT 2009
Author: brad
Date: 2009-03-24 18:11:08 -0700 (Tue, 24 Mar 2009)
New Revision: 14442
Modified:
short/3D/PyLith/branches/pylith-swig/libsrc/topology/Field.cc
Log:
Added check for empty sequence.
Modified: short/3D/PyLith/branches/pylith-swig/libsrc/topology/Field.cc
===================================================================
--- short/3D/PyLith/branches/pylith-swig/libsrc/topology/Field.cc 2009-03-25 01:06:48 UTC (rev 14441)
+++ short/3D/PyLith/branches/pylith-swig/libsrc/topology/Field.cc 2009-03-25 01:11:08 UTC (rev 14442)
@@ -94,7 +94,7 @@
_section = new RealSection(_mesh.comm(), _mesh.debug());
- if (points.size() > 0) {
+ if (points->size() > 0) {
const point_type pointMin =
*std::min_element(points->begin(), points->end());
const point_type pointMax =
More information about the CIG-COMMITS
mailing list