Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix format type of color - sphere - GPU-based 3D discrete element method algor…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit b74bec6ccdc448acc13f019a5fdec30d8db66aea
parent e72f1e870c239ec2e23ecfbc0d8e1f46def5d8f0
Author: Anders Damsgaard <[email protected]>
Date: Wed, 13 Aug 2014 13:54:03 +0200
fix format type of color
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -1408,7 +1408,7 @@ class sim:
+ 'format="ascii">\n')
fh.write(' ')
for i in range(self.np):
- fh.write('%f ' % (self.color[i]))
+ fh.write('%d ' % (self.color[i]))
fh.write('\n')
fh.write(' </DataArray>\n')
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.