tkeep value as numpy array - sphere - GPU-based 3D discrete element method algo… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit e37744f1b9fdd39f371ad2930b341ba01b37e894 | |
parent 2574a3317dbebe520e5ad777b91865f00b979897 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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() | |