We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1eac3 commit 2b24c04Copy full SHA for 2b24c04
src/parameters.jl
@@ -172,7 +172,7 @@ function subset_tunables(sys, new_tunables)
172
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.
173
"""))
174
end
175
- cur_ps = get_ps(sys)
+ cur_ps = copy(get_ps(sys))
176
const_ps = toconstant.(diff_params)
177
178
for (idx, p) in enumerate(cur_ps)
0 commit comments