Skip to content

Commit 2d299c3

Browse files
authored
FIX: update precision in numba timing (#405)
1 parent 61efadb commit 2d299c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/numba.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ This is equivalent to adding `qm = jit(qm)` after the function definition.
227227
The following now uses the jitted version:
228228

229229
```{code-cell} ipython3
230-
with qe.Timer():
230+
with qe.Timer(precision=4):
231231
qm(0.1, 100_000)
232232
```
233233

234234
```{code-cell} ipython3
235-
with qe.Timer():
235+
with qe.Timer(precision=4):
236236
qm(0.1, 100_000)
237237
```
238238

0 commit comments

Comments
 (0)