tse built-in dtype argument instead of post-read conversion - 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 33e2dbe8443809b1a869c94a1d6546e2b7a4c1fc
 (DIR) parent a13e3e5b810c4acdf9d5941a73e587344fc6a0a0
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 12 Nov 2014 13:28:32 +0100
       
       se built-in dtype argument instead of post-read conversion
       
       Diffstat:
         M python/sphere.py                    |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -5112,8 +5112,8 @@ class sim:
        
                See also: :func:`plotConvergence()`
                '''
       -        self.conv = numpy.int32(\
       -                numpy.loadtxt('../output/' + self.sid + '-conv.log'))
       +        self.conv = numpy.loadtxt('../output/' + self.sid + '-conv.log',
       +                dtype=numpy.int32)
        
            def plotConvergence(self, graphics_format='png'):
                '''