Skip to content

Commit 37a2c5c

Browse files
jstacclaude
andcommitted
Fix missing random module import in need_for_speed.md
Add missing `import random` statement to fix NameError when running the vectorization example code that uses random.uniform(). Tested by converting to Python with jupytext and running successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8943c3a commit 37a2c5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lectures/need_for_speed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Let's start with some imports:
6363
import numpy as np
6464
import quantecon as qe
6565
import matplotlib.pyplot as plt
66+
import random
6667
```
6768

6869

0 commit comments

Comments
 (0)