Skip to content

Commit b5088a3

Browse files
authored
Merge pull request #31 from QuantEcon/fix-phantom-section
Fix phantom section 21 appearing in TOC
2 parents 6d17107 + 5a73997 commit b5088a3

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

lectures/tools_and_techniques/stationary_densities.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -822,16 +822,15 @@ Use the same parameters.
822822

823823
For the four initial distributions, use the beta distribution and shift the random draws as shown below
824824

825-
```{code-block} none
826-
```
825+
```{code-block} julia
826+
ψ_0 = Beta(5.0, 5.0) # Initial distribution
827+
n = 1000
828+
# .... more setup
827829
828-
> ψ_0 = Beta(5.0, 5.0) # Initial distribution
829-
> n = 1000
830-
> # .... more setup
831-
>
832-
> for i in 1:4
833-
> # .... some code
834-
> rand_draws = (rand(ψ_0, n) .+ 2.5i) ./ 2
830+
for i in 1:4
831+
# .... some code
832+
rand_draws = (rand(ψ_0, n) .+ 2.5i) ./ 2
833+
```
835834

836835
(statd_ex3)=
837836
### Exercise 3

0 commit comments

Comments
 (0)