Permalink
Browse files

Display 2 decimal point values for Hz

  • Loading branch information...
1 parent 6cc207e commit 1ab74eafa4c7dab3cb2db0e52165fb30f0ba2437 Andreas Pauley committed Mar 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sudoku.py
View
@@ -148,7 +148,7 @@ def time_solve(grid):
N = len(grids)
if N >= 1:
hz = N/sum(times)
- print "Solved %d of %d puzzles from %s in %.6f secs (%d Hz)" % (
+ print "Solved %d of %d puzzles from %s in %.6f secs (%.2f Hz)" % (
sum(results), N, name, sum(times), hz)
[total, avg, median, max_elims, min_elims] = stats(eliminations)

0 comments on commit 1ab74ea

Please sign in to comment.