Skip to content

Commit 29a3061

Browse files
oyamadmmcky
andauthored
[finite_markov] Remove redundant array creation (#152)
Co-authored-by: mmcky <[email protected]>
1 parent 569d2e5 commit 29a3061

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lectures/finite_markov.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,6 @@ p = β / (α + β)
12581258
12591259
P = ((1 - α, α), # Careful: P and p are distinct
12601260
( β, 1 - β))
1261-
P = np.array(P)
12621261
mc = MarkovChain(P)
12631262
12641263
fig, ax = plt.subplots(figsize=(9, 6))

0 commit comments

Comments
 (0)