From 7ab3219591ffa3a6130d689fd5c9da4f66a03df7 Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Mon, 12 Aug 2024 08:29:31 -0700 Subject: [PATCH] Small fixes --- 1 - Numba basics.ipynb | 2 +- 3 - Parallel features.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1 - Numba basics.ipynb b/1 - Numba basics.ipynb index 1ba1814..9e85d80 100644 --- a/1 - Numba basics.ipynb +++ b/1 - Numba basics.ipynb @@ -202,7 +202,7 @@ "metadata": {}, "outputs": [], "source": [ - "# first select the `float64` signature\n", + "# first select the `float64` signature using the `.signatures` list attribute on the add_one function\n", "my_sig = # You write this!\n", "print(my_sig)\n", "\n", diff --git a/3 - Parallel features.ipynb b/3 - Parallel features.ipynb index fda097c..0f04960 100644 --- a/3 - Parallel features.ipynb +++ b/3 - Parallel features.ipynb @@ -401,7 +401,7 @@ "\n", " return np.sqrt(acc)\n", "\n", - "x = np.arange(100000000.)\n", + "x = np.arange(1000000.)\n", "\n", "np.testing.assert_allclose(two_norm(x), np.linalg.norm(x))" ]