From cd6580659158eaaf5363be644d02a60342ab610b Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 26 Feb 2024 02:58:57 -0600 Subject: [PATCH] hotfix constructors for initialization --- Project.toml | 2 +- src/scimlfunctions.jl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 5105b905b..15f7c7440 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.27.0" +version = "2.27.1" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/src/scimlfunctions.jl b/src/scimlfunctions.jl index b2f609c11..b30eca7af 100644 --- a/src/scimlfunctions.jl +++ b/src/scimlfunctions.jl @@ -2281,8 +2281,8 @@ function ODEFunction{iip, specialize}(f; DEFAULT_OBSERVED, colorvec = __has_colorvec(f) ? f.colorvec : nothing, sys = __has_sys(f) ? f.sys : nothing, - initializeprob = __has_initializeprob(f) ? f.sys : nothing, - initializeprobmap = __has_initializeprobmap(f) ? f.sys : nothing + initializeprob = __has_initializeprob(f) ? f.initializeprob : nothing, + initializeprobmap = __has_initializeprobmap(f) ? f.initializeprobmap : nothing ) where {iip, specialize } @@ -3193,8 +3193,8 @@ function DAEFunction{iip, specialize}(f; DEFAULT_OBSERVED, colorvec = __has_colorvec(f) ? f.colorvec : nothing, sys = __has_sys(f) ? f.sys : nothing, - initializeprob = __has_initializeprob(f) ? f.sys : nothing, - initializeprobmap = __has_initializeprobmap(f) ? f.sys : nothing) where {iip, + initializeprob = __has_initializeprob(f) ? f.initializeprob : nothing, + initializeprobmap = __has_initializeprobmap(f) ? f.initializeprobmap : nothing) where {iip, specialize } if jac === nothing && isa(jac_prototype, AbstractSciMLOperator)