Skip to content

Commit 64040d3

Browse files
committed
remove unnecessary error handling
1 parent 1fa083b commit 64040d3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/TickTock.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ end
100100
function showtimes(;canonical=true)
101101
t1 = time_ns()
102102
timers = gettimers()
103-
if timers === ()
104-
error("Use `tick()` to start a timer.")
105-
end
106103
timernumber = length(timers)
107104
for t0 in timers
108105
tnow = (t1 - t0)/1e9

0 commit comments

Comments
 (0)