Introduction
Introduction Statistics Contact Development Disclaimer Help
tuse more convenient type conversion function - sphere - GPU-based 3D discrete …
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 8119b65511e8027e7919c4fe3ece55ec0def60b6
parent 62f218b4c7597dadfe50e064745316355036312a
Author: Anders Damsgaard <[email protected]>
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(-)
---
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'):
'''
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.