From fc8334ad3c5e176b6ec779d801930cbf799af69a Mon Sep 17 00:00:00 2001 From: jClugstor Date: Mon, 23 Dec 2024 13:17:20 -0500 Subject: [PATCH 1/2] fix constructors for Alias specifiers --- src/problems/dde_problems.jl | 6 +++--- src/problems/discrete_problems.jl | 4 ++-- src/problems/implicit_discrete_problems.jl | 4 ++-- src/problems/optimization_problems.jl | 2 +- src/problems/sde_problems.jl | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/problems/dde_problems.jl b/src/problems/dde_problems.jl index b1b925536..e31590d96 100644 --- a/src/problems/dde_problems.jl +++ b/src/problems/dde_problems.jl @@ -424,11 +424,11 @@ struct DDEAliasSpecifier function DDEAliasSpecifier(; alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing) if alias == true - new(true, true, true, true, true) + new(true, true, true, true) elseif alias == false - new(false, false, false, false, false) + new(false, false, false, false) elseif isnothing(alias) - new(alias_p, alias_f, alias_u0, alias_du0, alias_tstops) + new(alias_p, alias_f, alias_u0, alias_tstops) end end end diff --git a/src/problems/discrete_problems.jl b/src/problems/discrete_problems.jl index face982f2..ccfbae64c 100644 --- a/src/problems/discrete_problems.jl +++ b/src/problems/discrete_problems.jl @@ -178,9 +178,9 @@ struct DiscreteAliasSpecifier alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias = nothing) if alias == true - new(true, true, true, true, true) + new(true, true, true) elseif alias == false - new(false, false, false, false, false) + new(false, false, false) elseif isnothing(alias) new(alias_p, alias_f, alias_u0) end diff --git a/src/problems/implicit_discrete_problems.jl b/src/problems/implicit_discrete_problems.jl index deae91c23..31485254b 100644 --- a/src/problems/implicit_discrete_problems.jl +++ b/src/problems/implicit_discrete_problems.jl @@ -144,9 +144,9 @@ struct ImplicitDiscreteAliasSpecifier alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias = nothing) if alias == true - new(true, true, true, true, true) + new(true, true, true) elseif alias == false - new(false, false, false, false, false) + new(false, false, false) elseif isnothing(alias) new(alias_p, alias_f, alias_u0) end diff --git a/src/problems/optimization_problems.jl b/src/problems/optimization_problems.jl index 37bdce06a..39219e0ed 100644 --- a/src/problems/optimization_problems.jl +++ b/src/problems/optimization_problems.jl @@ -180,7 +180,7 @@ struct OptimizationAliasSpecifier <: AbstractAliasSpecifier elseif alias == false new(false, false, false) elseif isnothing(alias) - new(alias_p, alias_f, alias_u0, alias_tstops) + new(alias_p, alias_f, alias_u0) end end end diff --git a/src/problems/sde_problems.jl b/src/problems/sde_problems.jl index 31cece3eb..51674a2f8 100644 --- a/src/problems/sde_problems.jl +++ b/src/problems/sde_problems.jl @@ -241,9 +241,9 @@ struct SDEAliasSpecifier <: AbstractAliasSpecifier function SDEAliasSpecifier(; alias_p = nothing, alias_f = nothing, alias_u0 = nothing, alias_du0 = nothing, alias_tstops = nothing, alias = nothing) if alias == true - new(true, true, true, true, true) + new(true, true, true, true) elseif alias == false - new(false, false, false, false, false) + new(false, false, false, false) elseif isnothing(alias) new(alias_p, alias_f, alias_u0, alias_tstops) end From 30a9428974aa1252349fe52bca96513977a82534 Mon Sep 17 00:00:00 2001 From: jClugstor Date: Tue, 24 Dec 2024 11:19:30 -0500 Subject: [PATCH 2/2] apply patch version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index eec51a463..2fa604532 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SciMLBase" uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462" authors = ["Chris Rackauckas and contributors"] -version = "2.69.0" +version = "2.69.1" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"