From 2c13b5d7e81704c1009129c4eb97ee6fb01f5bf7 Mon Sep 17 00:00:00 2001 From: yonatanwesen Date: Tue, 17 Oct 2023 18:25:58 -0400 Subject: [PATCH] remove p from kwargs --- test/convert_tests.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/convert_tests.jl b/test/convert_tests.jl index 7374854c4..20fba4f86 100644 --- a/test/convert_tests.jl +++ b/test/convert_tests.jl @@ -43,9 +43,8 @@ end u0 = [1.0; 0.0; 0.0] tspan = (0.0, 100.0) p = [10.0,28.0,8/3] - prob = ODEProblem(lorenz!, u0, tspan,p=p;a=1.0,b=2.0) + prob = ODEProblem(lorenz!, u0, tspan,p;a=1.0,b=2.0) nlprob = NonlinearProblem(prob) - @test nlprob.kwargs[:p] == prob.kwargs[:p] @test nlprob.kwargs[:a] == prob.kwargs[:a] @test nlprob.kwargs[:b] == prob.kwargs[:b] end @@ -59,9 +58,8 @@ end u0 = [1.0; 0.0; 0.0] tspan = (0.0, 100.0) p = [10.0,28.0,8/3] - prob = ODEProblem(lorenz!, u0, tspan,p=p;a=1.0,b=2.0) + prob = ODEProblem(lorenz!, u0, tspan,p;a=1.0,b=2.0) sprob = SteadyStateProblem(prob) - @test sprob.kwargs[:p] == prob.kwargs[:p] @test sprob.kwargs[:a] == prob.kwargs[:a] @test sprob.kwargs[:b] == prob.kwargs[:b] end \ No newline at end of file