Introduction
Introduction Statistics Contact Development Disclaimer Help
tse built-in dtype argument instead of post-read conversion - sphere - GPU-base…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 33e2dbe8443809b1a869c94a1d6546e2b7a4c1fc
parent a13e3e5b810c4acdf9d5941a73e587344fc6a0a0
Author: Anders Damsgaard <[email protected]>
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(-)
---
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'):
'''
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.