pybench prep_times calculation error (closes #11895)

This commit is contained in:
Jesus Cea 2011-04-25 03:25:37 +02:00
commit b32321aed9
2 changed files with 2 additions and 1 deletions

View File

@ -852,6 +852,7 @@ Steven Taschuk
Monty Taylor Monty Taylor
Amy Taylor Amy Taylor
Anatoly Techtonik Anatoly Techtonik
Mikhail Terekhov
Tobias Thelen Tobias Thelen
James Thomas James Thomas
Robin Thomas Robin Thomas

View File

@ -276,7 +276,7 @@ class Test:
for i in calibration_loops: for i in calibration_loops:
pass pass
t = timer() - t t = timer() - t
prep_times.append(t) prep_times.append(t / CALIBRATION_LOOPS)
min_prep_time = min(prep_times) min_prep_time = min(prep_times)
if _debug: if _debug:
print() print()