Skip to content

Commit

Permalink
Only testing 2 instances instead of +10 now.
Browse files Browse the repository at this point in the history
  • Loading branch information
benedict-96 committed Jul 1, 2024
1 parent 54f742f commit 71ff036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_hodeensembles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import GeometricProblems.TodaLattice as tl
using Test

function test_multiple_initial_conditions(cho::Module)
q₀_vec = [cho.q₀ .+ α for α in 0. : .4 : .8]
p₀_vec = [cho.p₀ .+ α for α in 0. : .4 : .8]
q₀_vec = [cho.q₀ .+ α for α in 0. : .4 : .4]
p₀_vec = [cho.p₀ .+ α for α in 0. : .4 : .4]

# ensemble problem
epr = cho.hodeensemble(q₀_vec, p₀_vec)
Expand All @@ -20,7 +20,7 @@ end
function test_multiple_parameters(cho::Module)
params_vec = Vector{NamedTuple}()

for i in 0:10
for i in 0:1
param_vals = ()
for key in keys(cho.default_parameters)
param_vals = (param_vals..., cho.default_parameters[key] .+ 1. * i)
Expand Down

0 comments on commit 71ff036

Please sign in to comment.