[cig-commits] r13349 - short/3D/PyLith/trunk/pylith/problems
brad at geodynamics.org
brad at geodynamics.org
Wed Nov 19 13:35:19 PST 2008
Author: brad
Date: 2008-11-19 13:35:19 -0800 (Wed, 19 Nov 2008)
New Revision: 13349
Modified:
short/3D/PyLith/trunk/pylith/problems/Problem.py
Log:
Fixed bug in error message.
Modified: short/3D/PyLith/trunk/pylith/problems/Problem.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Problem.py 2008-11-19 21:02:44 UTC (rev 13348)
+++ short/3D/PyLith/trunk/pylith/problems/Problem.py 2008-11-19 21:35:19 UTC (rev 13349)
@@ -143,7 +143,7 @@
raise ValueError, \
"Spatial dimension of problem is '%d' but mesh contains cells " \
"for spatial dimension '%d'." % \
- (self.dimension, mesh.dimension)
+ (self.dimension, self.mesh.dimension())
# Check to make sure ids of materials and interfaces are unique
materialIds = {}
More information about the CIG-COMMITS
mailing list