From 9e1dcb8e7cc5f8ddaa8015f2cbf714438d3e604b Mon Sep 17 00:00:00 2001 From: u7062654 Date: Thu, 14 Jan 2021 11:25:54 +1100 Subject: [PATCH 1/3] [python_oop] typo --- lectures/python_oop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/python_oop.md b/lectures/python_oop.md index 6b813ac7..f7504d80 100644 --- a/lectures/python_oop.md +++ b/lectures/python_oop.md @@ -254,7 +254,7 @@ We'll also discuss the role of the peculiar `self` bookkeeping device in detail #### Usage -Here's an example in which we use the class `Consumer` to crdate an instance of a consumer whom we affectionately name $c1$. +Here's an example in which we use the class `Consumer` to create an instance of a consumer whom we affectionately name $c1$. After we create consumer $c1$ and endow it with initial wealth $10$, we'll apply the `spend` method. From 78f81d2d9fcfa7e61092940b47937aaee451845e Mon Sep 17 00:00:00 2001 From: u7062654 Date: Thu, 14 Jan 2021 11:53:00 +1100 Subject: [PATCH 2/3] [numba] typo --- lectures/numba.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/numba.md b/lectures/numba.md index dd90e086..a763fb06 100644 --- a/lectures/numba.md +++ b/lectures/numba.md @@ -555,7 +555,7 @@ Now let's see how fast it runs: %time calculate_pi() ``` -If we switch of JIT compilation by removing `@njit`, the code takes around +If we switch off JIT compilation by removing `@njit`, the code takes around 150 times as long on our machine. So we get a speed gain of 2 orders of magnitude--which is huge--by adding four From 99231172634534010fe5c58a71f02287fba6aab4 Mon Sep 17 00:00:00 2001 From: u7062654 Date: Thu, 14 Jan 2021 12:17:14 +1100 Subject: [PATCH 3/3] [numba] typo --- lectures/numba.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/numba.md b/lectures/numba.md index a763fb06..dd90e086 100644 --- a/lectures/numba.md +++ b/lectures/numba.md @@ -555,7 +555,7 @@ Now let's see how fast it runs: %time calculate_pi() ``` -If we switch off JIT compilation by removing `@njit`, the code takes around +If we switch of JIT compilation by removing `@njit`, the code takes around 150 times as long on our machine. So we get a speed gain of 2 orders of magnitude--which is huge--by adding four