tupdate self.version after succesful read - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 2574a3317dbebe520e5ad777b91865f00b979897
DIR parent 1ed93090cb9bf53d18d614d01b1a107faa38589c
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
DIR 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()