[cig-commits] r6983 - short/3D/PyLith/trunk/unittests/pytests/bc
brad at geodynamics.org
brad at geodynamics.org
Mon May 28 16:26:31 PDT 2007
Author: brad
Date: 2007-05-28 16:26:31 -0700 (Mon, 28 May 2007)
New Revision: 6983
Modified:
short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichlet.py
Log:
Fixed bug in Dirichlet Python unit test.
Modified: short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichlet.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichlet.py 2007-05-28 23:19:42 UTC (rev 6982)
+++ short/3D/PyLith/trunk/unittests/pytests/bc/TestDirichlet.py 2007-05-28 23:26:31 UTC (rev 6983)
@@ -99,7 +99,8 @@
bc.setConstraintSizes(field)
mesh.allocateRealSection(field)
bc.setConstraints(field)
- t = 1.0
+ from pyre.units.time import second
+ t = 1.0*second
bc.setField(t, field)
# We should really add something here to check to make sure things
More information about the cig-commits
mailing list