From 438a4731db8b0090ee154f5e7ee401bc76797614 Mon Sep 17 00:00:00 2001 From: Shu Date: Mon, 7 Dec 2020 10:00:49 +1100 Subject: [PATCH] [numba]_fix_imports --- lectures/numba.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lectures/numba.md b/lectures/numba.md index dd90e086..f67100b9 100644 --- a/lectures/numba.md +++ b/lectures/numba.md @@ -286,8 +286,7 @@ created in {doc}`this lecture `. To compile this class we use the `@jitclass` decorator: ```{code-cell} python3 -from numba import float64 -from numba.experimental import jitclass +from numba import float64, jitclass ``` Notice that we also imported something called `float64`.