Skip to content

Commit

Permalink
Adding +.1 to all parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
benedict-96 committed Jul 8, 2024
1 parent eca602a commit 3fb5f60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_hodeensembles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ function test_multiple_parameters(cho::Module)
for i in 0:1
param_vals = ()

# take the first parameter (compute the ensemble by changing this parameter)
key = keys(cho.default_parameters)[1]
param_vals = ()
for key in keys(cho.default_parameters)
param_vals = (param_vals..., cho.default_parameters[key] .+ 1. * i)
end

params_vec = push!(params_vec, NamedTuple{keys(cho.default_parameters)}(param_vals))
end
Expand Down

0 comments on commit 3fb5f60

Please sign in to comment.