tfix format type of color - 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 b74bec6ccdc448acc13f019a5fdec30d8db66aea
 (DIR) parent e72f1e870c239ec2e23ecfbc0d8e1f46def5d8f0
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       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(-)
       ---
 (DIR) 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')