record things as more precise floats

This commit is contained in:
Stephen McQuay 2011-05-18 15:23:01 -06:00
parent dc2a64589b
commit ce8a333b04

View File

@ -112,9 +112,9 @@ if __name__ == '__main__':
o = open(results_p_name, 'w')
for i in results:
if dimension == 2:
o.write("%d %d %f %f %f %f %f %f %f\n" % (i[0], i[1], i[2][0], i[2][1], i[3], i[4], i[5], i[6], i[7]))
o.write("%d %d %e %e %e %e %e %e %e\n" % (i[0], i[1], i[2][0], i[2][1], i[3], i[4], i[5], i[6], i[7]))
elif dimension == 3:
o.write("%d %d %f %f %f %f %f %f %f %f\n" % (i[0], i[1], i[2][0], i[2][1], i[2][2], i[3], i[4], i[5], i[6], i[7]))
o.write("%d %d %e %e %e %e %e %e %e %e\n" % (i[0], i[1], i[2][0], i[2][1], i[2][2], i[3], i[4], i[5], i[6], i[7]))
submit = submit_end - submit_start
receive = receive_end - receive_start