Commit 2d2e99f
Remove unnecessary global alpha variable
The α parameter is already defined with a default value (0.4) in the
create_model function, so there's no need to set it as a global variable
and pass it explicitly.
Simplified:
- model = create_model() instead of α = 0.4; model = create_model(α=α)
- model_crra = create_model() in the CRRA exercise section
Tested successfully with same results as before.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 7212a13 commit 2d2e99f
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
| 167 | + | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
358 | 356 | | |
359 | 357 | | |
360 | 358 | | |
361 | | - | |
| 359 | + | |
362 | 360 | | |
363 | 361 | | |
364 | 362 | | |
| |||
0 commit comments