[cig-commits] r15253 - short/3D/PyLith/trunk/libsrc/materials
brad at geodynamics.org
brad at geodynamics.org
Sun Jun 14 21:38:10 PDT 2009
Author: brad
Date: 2009-06-14 21:38:09 -0700 (Sun, 14 Jun 2009)
New Revision: 15253
Modified:
short/3D/PyLith/trunk/libsrc/materials/Material.cc
Log:
Fixed bug in finding field.
Modified: short/3D/PyLith/trunk/libsrc/materials/Material.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/materials/Material.cc 2009-06-15 04:37:36 UTC (rev 15252)
+++ short/3D/PyLith/trunk/libsrc/materials/Material.cc 2009-06-15 04:38:09 UTC (rev 15253)
@@ -521,7 +521,7 @@
return;
} // if
- if (propertyIndex < 0 && stateVarIndex < 0) {
+ if (*propertyIndex < 0 && *stateVarIndex < 0) {
std::ostringstream msg;
msg << "Unknown physical property or state variable '" << name
<< "' for material '" << _label << "'.";
More information about the CIG-COMMITS
mailing list