Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Commit b04109d

Browse files
AnjuJoonjstac
authored andcommitted
some missed changes for pep8 conventions (#685)
1 parent 5cf520a commit b04109d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/rst/wald_friedman.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,14 @@ and plot these on our value function plot
608608
609609
# The cutoff points can be found by differencing these costs with
610610
# The Bellman equation (J is always less than or equal to p_c_i)
611-
β = π_grid[np.searchsorted(payoff_f1 - np.minimum(h, payoff_f0), 1e-10) - 1]
612-
α = π_grid[np.searchsorted(np.minimum(h, payoff_f1) - payoff_f0, 1e-10) - 1]
611+
β = π_grid[np.searchsorted(
612+
payoff_f1 - np.minimum(h, payoff_f0),
613+
1e-10)
614+
- 1]
615+
α = π_grid[np.searchsorted(
616+
np.minimum(h, payoff_f1) - payoff_f0,
617+
1e-10)
618+
- 1]
613619
614620
return (β, α)
615621

0 commit comments

Comments
 (0)