Skip to content

Commit c328ade

Browse files
author
Wenjie Yao
committed
fix global parameters
1 parent 071257e commit c328ade

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TopOptEMFocus.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ MAX_ITER = 100
470470
for bi = 1 : 3
471471
β = β_list[bi]
472472
g_opt, p_temp_opt = gf_p_optimize(p_opt; r, β, η, TOL, MAX_ITER, phys_params, fem_params)
473-
p_opt = p_temp_opt
473+
global p_opt = p_temp_opt
474474
end
475475
@show g_opt
476476

0 commit comments

Comments
 (0)