Skip to content

Commit

Permalink
Display 2 decimal point values for Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Pauley committed Mar 25, 2011
1 parent 6cc207e commit 1ab74ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudoku.py
Expand Up @@ -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)
Expand Down

0 comments on commit 1ab74ea

Please sign in to comment.