From 1ffaaa3ac6b5cf3b669052e97dfc21d06cff5e01 Mon Sep 17 00:00:00 2001 From: Gaurav Arya Date: Sat, 29 Jul 2023 19:56:50 -0400 Subject: [PATCH 1/2] Fix array construction in oval problem --- lib/SDEProblemLibrary/src/SDEProblemLibrary.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl b/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl index e6585ed..c177485 100644 --- a/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl +++ b/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl @@ -351,9 +351,9 @@ function oval2ModelExample(; largeFluctuations = false, useBigs = false, noiseLe σ = σ2 end - u0 = [0.128483 1.256853 0.0030203 0.0027977 0.0101511 0.0422942 0.2391346 - 0.0008014 0.0001464 2.67e-05 4.8e-6 9e-7 0.0619917 1.2444292 0.0486676 - 199.9383546 137.4267984 1.5180203 1.5180203] #Fig 9B + u0 = [0.128483, 1.256853, 0.0030203, 0.0027977, 0.0101511, 0.0422942, 0.2391346, + 0.0008014, 0.0001464, 2.67e-05, 4.8e-6, 9e-7, 0.0619917, 1.2444292, 0.0486676, + 199.9383546, 137.4267984, 1.5180203, 1.5180203] #Fig 9B if useBigs u0 = big.(u0) end From 78349f6004cfb9c831acb8d640546c59a81d9e59 Mon Sep 17 00:00:00 2001 From: Gaurav Arya Date: Sat, 29 Jul 2023 20:10:41 -0400 Subject: [PATCH 2/2] Indent --- lib/SDEProblemLibrary/src/SDEProblemLibrary.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl b/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl index c177485..a681288 100644 --- a/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl +++ b/lib/SDEProblemLibrary/src/SDEProblemLibrary.jl @@ -352,8 +352,8 @@ function oval2ModelExample(; largeFluctuations = false, useBigs = false, noiseLe end u0 = [0.128483, 1.256853, 0.0030203, 0.0027977, 0.0101511, 0.0422942, 0.2391346, - 0.0008014, 0.0001464, 2.67e-05, 4.8e-6, 9e-7, 0.0619917, 1.2444292, 0.0486676, - 199.9383546, 137.4267984, 1.5180203, 1.5180203] #Fig 9B + 0.0008014, 0.0001464, 2.67e-05, 4.8e-6, 9e-7, 0.0619917, 1.2444292, 0.0486676, + 199.9383546, 137.4267984, 1.5180203, 1.5180203] #Fig 9B if useBigs u0 = big.(u0) end