[cig-commits] r7897 - short/3D/PyLith/trunk/pylith/faults
brad at geodynamics.org
brad at geodynamics.org
Mon Aug 27 13:09:06 PDT 2007
Author: brad
Date: 2007-08-27 13:09:06 -0700 (Mon, 27 Aug 2007)
New Revision: 7897
Modified:
short/3D/PyLith/trunk/pylith/faults/Fault.py
Log:
Fixed bug where upDir and normalDir were not converted to float arrays.
Modified: short/3D/PyLith/trunk/pylith/faults/Fault.py
===================================================================
--- short/3D/PyLith/trunk/pylith/faults/Fault.py 2007-08-27 19:34:44 UTC (rev 7896)
+++ short/3D/PyLith/trunk/pylith/faults/Fault.py 2007-08-27 20:09:06 UTC (rev 7897)
@@ -187,8 +187,8 @@
Component._configure(self)
self.id = self.inventory.id
self.label = self.inventory.label
- self.upDir = self.inventory.upDir
- self.normalDir = self.inventory.normalDir
+ self.upDir = map(float, self.inventory.upDir)
+ self.normalDir = map(float, self.inventory.normalDir)
self.quadrature = self.inventory.quadrature
self.matDB = self.inventory.matDB
return
More information about the cig-commits
mailing list