Skip to content

Commit cf50e14

Browse files
authored
change to bracket=[0.47, 4.5] (#148)
1 parent aa44257 commit cf50e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/five_preferences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ constraint_pref_crit = constraint_criterion_factory(η, π, u) # Create criteri
12171217
cons_crit_bar = constraint_pref_crit(*c_bundle) # Evaluate criterion at consumption bundle
12181218
constraint_pref_root_problem = lambda c_2, c_1, u_bar: u_bar - constraint_pref_crit(c_1, c_2) # Formulate root problem
12191219
# Solve root problem for all c_1 values
1220-
c_2_grid_cons = solve_root_problem(constraint_pref_root_problem, cons_crit_bar, c_1_grid, method='bisect', bracket=[0.3, 4.4])
1220+
c_2_grid_cons = solve_root_problem(constraint_pref_root_problem, cons_crit_bar, c_1_grid, method='bisect', bracket=[0.47, 4.5])
12211221
12221222
# Compute associated η and θ values
12231223
ηs = np.empty(c_1_grid.size)

0 commit comments

Comments
 (0)