From 45a31995c0b709d9aecf4843f0fcb51fbdcce3c6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 28 Aug 2025 15:48:58 +1000 Subject: [PATCH] FIX: update precision in numba timing --- lectures/numba.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lectures/numba.md b/lectures/numba.md index ddbc402c..d21cd745 100644 --- a/lectures/numba.md +++ b/lectures/numba.md @@ -227,12 +227,12 @@ This is equivalent to adding `qm = jit(qm)` after the function definition. The following now uses the jitted version: ```{code-cell} ipython3 -with qe.Timer(): +with qe.Timer(precision=4): qm(0.1, 100_000) ``` ```{code-cell} ipython3 -with qe.Timer(): +with qe.Timer(precision=4): qm(0.1, 100_000) ```