Fixed formatting for exhaustive searches

This commit is contained in:
Philippe Tillet
2014-09-11 17:50:26 -04:00
parent 08d17aa58c
commit 0dd76b8b45

View File

@@ -29,7 +29,7 @@ def exhaustive(statement, context, TemplateType, build_template, parameter_names
if T < minT:
minT = T
best = individual
print '%d / %d , Best is %d %s for %s\r'%(current, nvalid, compute_perf(minT), perf_metric, best)
sys.stdout.write('%d / %d , Best is %d %s for %s\r'%(current, nvalid, compute_perf(minT), perf_metric, best))
except:
pass