tupdate self.version after succesful read - sphere - GPU-based 3D discrete elem… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 2574a3317dbebe520e5ad777b91865f00b979897 | |
parent 1ed93090cb9bf53d18d614d01b1a107faa38589c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 22 Jun 2014 09:39:51 +0200 | |
update self.version after succesful read | |
Diffstat: | |
M python/sphere.py | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -956,6 +956,7 @@ class sim: | |
self.color = numpy.zeros(self.np, dtype=numpy.int32) | |
finally: | |
+ self.version = VERSION | |
if fh is not None: | |
fh.close() | |