From e41c5e4809570ba8594ebb589cfa1c4ffcf80106 Mon Sep 17 00:00:00 2001 From: ErikQQY <2283984853@qq.com> Date: Tue, 5 Sep 2023 13:38:12 +0800 Subject: [PATCH] Fix specialization error Signed-off-by: ErikQQY <2283984853@qq.com> --- Project.toml | 2 +- src/SciMLBase.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 5717788d0..a14d73463 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 = "1.96.0" +version = "1.96.1" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/src/SciMLBase.jl b/src/SciMLBase.jl index 1d734b410..e4d1e371f 100644 --- a/src/SciMLBase.jl +++ b/src/SciMLBase.jl @@ -660,6 +660,7 @@ function specialization(::Union{ODEFunction{iip, specialize}, OptimizationFunction{iip, specialize}, BVPFunction{iip, specialize}}) where {iip, specialize} + specialize end specialization(f::AbstractSciMLFunction) = FullSpecialize