Skip to content

Commit

Permalink
add deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejuniper committed Oct 11, 2024
1 parent 23e7e1f commit 0bdc39d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prob/gmd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ end


"FUNCTION: solve the multi-time-series quasi-dc-pf problem"
function solve_gmd_ts_decoupled(case, optimizer, waveform; setting=Dict{String,Any}(), thermal=false, kwargs...)
function solve_gmd_ts_decoupled(base_case, optimizer, waveform; setting=Dict{String,Any}(), thermal=false, kwargs...)
# TODO: consider deepcopy case to avoid errors
case = deepcopy(base_case)

wf_time = waveform["time"]
wf_waveforms = waveform["waveforms"]
Expand Down

0 comments on commit 0bdc39d

Please sign in to comment.