Skip to content

Commit 177218b

Browse files
Smit-createmmcky
andauthored
Avoid using star imports (#366)
Co-authored-by: mmcky <[email protected]>
1 parent 5f14448 commit 177218b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lectures/re_with_feedback.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import matplotlib.pyplot as plt
4242
plt.rcParams["figure.figsize"] = (11, 5) #set default figure size
4343
import numpy as np
4444
import quantecon as qe
45-
from sympy import *
45+
from sympy import init_printing, symbols, Matrix
4646
init_printing()
4747
```
4848

@@ -1066,7 +1066,7 @@ Compare $F^*$ with $F_1 + F_2 F^*$
10661066
F_check[0] + F_check[1] * F_star, F_star
10671067
```
10681068

1069-
## Fun with SymPy
1069+
## Fun with SymPy
10701070

10711071
This section is a gift for readers who have made it this far.
10721072

@@ -1161,4 +1161,3 @@ $−(Q^{22})^{−1}Q^{21}$
11611161
```{code-cell} python3
11621162
- Q_inv[1, 0] / Q_inv[1, 1]
11631163
```
1164-

0 commit comments

Comments
 (0)