tuse more convenient type conversion function - 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 8119b65511e8027e7919c4fe3ece55ec0def60b6
 (DIR) parent 62f218b4c7597dadfe50e064745316355036312a
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 12 Nov 2014 11:33:27 +0100
       
       use more convenient type conversion function
       
       Diffstat:
         M python/sphere.py                    |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -5084,9 +5084,8 @@ class sim:
        
                See also: :func:`plotConvergence()`
                '''
       -        self.conv = numpy.array(\
       -                numpy.loadtxt('../output/' + self.sid + '-conv.log'),
       -                dtype=numpy.int32)
       +        self.conv = numpy.int32(\
       +                numpy.loadtxt('../output/' + self.sid + '-conv.log'))
        
            def plotConvergence(self, graphics_format='png'):
                '''