Skip to content

Commit

Permalink
quick update raritan
Browse files Browse the repository at this point in the history
  • Loading branch information
kfgarrity committed Oct 4, 2024
1 parent 16795a5 commit 3cfe2a7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/FitTB_laguerre.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1601,8 +1601,8 @@ function do_fitting_recursive_optim(list_of_tbcs ; weights_list = missing, dft_l

DATABASE = []
ERROR = []
for a in a_list
EXP_a[1] = a
# for a in a_list
# EXP_a[1] = a

# println("KWEIGHTS 3 ", size(KWEIGHTS[3]), " " , KWEIGHTS[3][1:6])

Expand Down Expand Up @@ -1684,16 +1684,17 @@ function do_fitting_recursive_optim(list_of_tbcs ; weights_list = missing, dft_l
println(Optim.minimizer(ret))


push!(DATABASE, deepcopy(database))
push!(ERROR, err_min)
end
# push!(DATABASE, deepcopy(database))
# push!(ERROR, err_min)
# end

#end

# ret = f(cs)
# println("ret $ret")

return DATABASE, ERROR
# return DATABASE, ERROR
return database

#return do_fitting_recursive_main(list_of_tbcs, pd; weights_list = weights_list, dft_list=dft_list, kpoints = kpoints, starting_database = starting_database, update_all = update_all, fit_threebody=fit_threebody, fit_threebody_onsite=fit_threebody_onsite, do_plot = do_plot, energy_weight = energy_weight, rs_weight=rs_weight,ks_weight = ks_weight, niters=niters, lambda=lambda, leave_one_out=leave_one_out, RW_PARAM=RW_PARAM, KPOINTS=KPOINTS, KWEIGHTS=KWEIGHTS, nk_max=nk_max, start_small = start_small , fit_to_dft_eigs=fit_to_dft_eigs)

Expand Down

0 comments on commit 3cfe2a7

Please sign in to comment.