Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function subset_tunables(sys, new_tunables)
Note that array parameters can only be set as tunable or non-tunable, not partially tunable. They should be specified in the un-scalarized form.
"""))
end
cur_ps = get_ps(sys)
cur_ps = copy(get_ps(sys))
const_ps = toconstant.(diff_params)

for (idx, p) in enumerate(cur_ps)
Expand Down
Loading