tkeep value as numpy array - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e37744f1b9fdd39f371ad2930b341ba01b37e894
(DIR) parent 2574a3317dbebe520e5ad777b91865f00b979897
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sun, 22 Jun 2014 09:40:46 +0200
keep value as numpy array
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -956,7 +956,7 @@ class sim:
self.color = numpy.zeros(self.np, dtype=numpy.int32)
finally:
- self.version = VERSION
+ self.version[0] = VERSION
if fh is not None:
fh.close()