[cig-commits] r6237 - short/3D/PyLith/trunk/modulesrc/feassemble
brad at geodynamics.org
brad at geodynamics.org
Mon Mar 12 21:22:14 PDT 2007
Author: brad
Date: 2007-03-12 21:22:14 -0700 (Mon, 12 Mar 2007)
New Revision: 6237
Modified:
short/3D/PyLith/trunk/modulesrc/feassemble/feassemble.pyxe.src
Log:
Fixed bug in using mesh handle in ExplicitElasticity::initialize().
Modified: short/3D/PyLith/trunk/modulesrc/feassemble/feassemble.pyxe.src
===================================================================
--- short/3D/PyLith/trunk/modulesrc/feassemble/feassemble.pyxe.src 2007-03-13 00:56:07 UTC (rev 6236)
+++ short/3D/PyLith/trunk/modulesrc/feassemble/feassemble.pyxe.src 2007-03-13 04:22:14 UTC (rev 6237)
@@ -556,9 +556,8 @@
raise TypeError, \
"Argument must be extension module type " \
"'spatialdata::geocoords::CoordSys'."
- cdef void* meshObj
- meshObj = <void*> PyCObject_AsVoidPtr(mesh)
- ExplicitElasticity_initialize(self.thisptr, meshObj, ptrFromHandle(cs))
+ ExplicitElasticity_initialize(self.thisptr, ptrFromHandle(mesh),
+ ptrFromHandle(cs))
return
More information about the cig-commits
mailing list