Skip to content

Commit e1422cd

Browse files
WenjieYaostevengj
andauthored
Update src/TopOptEMFocus.jl
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
1 parent 47b1a17 commit e1422cd

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
@@ -468,7 +468,7 @@ function gf_p_optimize(p_init, r, β, η, TOL = 1e-4, MAX_ITER = 500; phys_param
468468
return g_opt, p_opt
469469
end
470470

471-
p_init = ones(fem_params.np) * 0.4 # Initial guess
471+
p_init = fill(0.4, fem_params.np) # Initial guess
472472
β_list = [8.0, 16.0, 32.0]
473473

474474
g_opt = 0

0 commit comments

Comments
 (0)