tfix adaptive parameter type - 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 15c6647b60beb142a837e63b6f047b619910b5ac
 (DIR) parent 861811ef0f2268b80810e5041bab2856e5417f1f
 (HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
       Date:   Mon, 12 Sep 2016 10:13:40 -0700
       
       fix adaptive parameter type
       
       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@@ -1014,7 +1014,7 @@ class sim:
                    if self.version >= 2.14:
                        self.adaptive = numpy.fromfile(fh, dtype=numpy.int32, count=1)
                    else:
       -                self.adaptive = 0
       +                self.adaptive = numpy.zeros(1, dtype=numpy.float64)
        
                    # Per-particle vectors
                    for i in numpy.arange(self.np):