From 55212a261122599fef1ebf4261d637b9a0aecd39 Mon Sep 17 00:00:00 2001 From: schillic Date: Fri, 1 Mar 2024 23:55:15 +0100 Subject: [PATCH] remove unused variables --- src/check_1D_dense.jl | 2 +- src/check_1D_discrete.jl | 2 +- src/check_kD_dense.jl | 3 +-- src/check_kD_discrete.jl | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/check_1D_dense.jl b/src/check_1D_dense.jl index 1761ba5..2550ee2 100644 --- a/src/check_1D_dense.jl +++ b/src/check_1D_dense.jl @@ -53,7 +53,7 @@ function check_1D_dense(models::Vector{String}, deltas::Vector{Float64}) dict[:T] = 20.0 dict[:logfile] = "$model-check-1D-dense-givenstep.txt" end - result = solve(S, Options(dict)) + solve(S, Options(dict)) end println() end diff --git a/src/check_1D_discrete.jl b/src/check_1D_discrete.jl index 79cead2..7b55e2f 100644 --- a/src/check_1D_discrete.jl +++ b/src/check_1D_discrete.jl @@ -51,7 +51,7 @@ function check_1D_discrete(models::Vector{String}) dict[:T] = 20.0 dict[:logfile] = "$model-check-1D-discrete-fixedstep.txt" end - result = solve(S, Options(dict)) + solve(S, Options(dict)) end println() end diff --git a/src/check_kD_dense.jl b/src/check_kD_dense.jl index b004d6c..94b4d9b 100644 --- a/src/check_kD_dense.jl +++ b/src/check_kD_dense.jl @@ -35,7 +35,6 @@ function check_kD_dense(models::Vector{String}, deltas::Vector{Float64}) S, options_raw = func(:mode => "check") # options - n = MathematicalSystems.statedim(S) dict_raw = options_raw.dict dict_raw[:verbosity] = "info" dict_raw[:δ] = delta @@ -50,7 +49,7 @@ function check_kD_dense(models::Vector{String}, deltas::Vector{Float64}) dict[:T] = 20.0 dict[:logfile] = "$model-check-kD-dense-givenstep.txt" end - result = solve(S, Options(dict)) + solve(S, Options(dict)) end println() end diff --git a/src/check_kD_discrete.jl b/src/check_kD_discrete.jl index b07567d..a64974b 100644 --- a/src/check_kD_discrete.jl +++ b/src/check_kD_discrete.jl @@ -31,7 +31,6 @@ function check_kD_discrete(models::Vector{String}) S, options_raw = func(:mode => "check") # options - n = MathematicalSystems.statedim(S) dict_raw = options_raw.dict dict_raw[:verbosity] = "info" dict_raw[:δ] = 5e-3 @@ -48,7 +47,7 @@ function check_kD_discrete(models::Vector{String}) dict[:T] = 20.0 dict[:logfile] = "$model-check-kD-discrete-fixedstep.txt" end - result = solve(S, Options(dict)) + solve(S, Options(dict)) end println() end