Skip to content

Commit 4f0c333

Browse files
committed
Simplify the termination code
1 parent fa65baa commit 4f0c333

File tree

7 files changed

+466
-488
lines changed

7 files changed

+466
-488
lines changed

.JuliaFormatter.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
style = "sciml"
1+
style = "sciml"
2+
annotate_untyped_fields_with_any = false

.github/workflows/Downstream.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
@info "Not compatible with this release. No problem." exception=err
8484
exit(0) # Exit immediately, as a success
8585
end
86+
env:
87+
RETESTITEMS_NWORKERS: 4
88+
RETESTITEMS_NWORKER_THREADS: 2
8689
- uses: julia-actions/julia-processcoverage@v1
8790
- uses: codecov/codecov-action@v4
8891
with:

Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ version = "6.148.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
8+
ConcreteStructs = "2569d6c7-a4a2-43d3-a901-331e8e4be471"
89
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
910
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1011
EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
1112
EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"
1213
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
14+
FastClosures = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
1315
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1416
FunctionWrappers = "069b7b12-0de2-55c6-9aab-29f3d0a68a2e"
1517
FunctionWrappersWrappers = "77dc65aa-8811-40c2-897b-53d922fa7daf"
@@ -60,12 +62,14 @@ DiffEqBaseUnitfulExt = "Unitful"
6062
[compat]
6163
ArrayInterface = "7.8"
6264
ChainRulesCore = "1"
65+
ConcreteStructs = "0.2.3"
6366
DataStructures = "0.18"
6467
Distributions = "0.25"
6568
DocStringExtensions = "0.9"
6669
EnumX = "1"
6770
EnzymeCore = "0.5, 0.6, 0.7"
6871
FastBroadcast = "0.2"
72+
FastClosures = "0.3.2"
6973
ForwardDiff = "0.10"
7074
FunctionWrappers = "1.0"
7175
FunctionWrappersWrappers = "0.1"

src/DiffEqBase.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ PrecompileTools.@recompile_invalidations begin
3737

3838
using Markdown
3939

40+
using ConcreteStructs: @concrete
41+
using FastClosures: @closure
42+
4043
# Could be made optional/glue
4144
import PreallocationTools
4245

@@ -138,6 +141,7 @@ include("common_defaults.jl")
138141
include("solve.jl")
139142
include("internal_euler.jl")
140143
include("forwarddiff.jl")
144+
include("termination_conditions_deprecated.jl") # TODO: remove in the next major release
141145
include("termination_conditions.jl")
142146
include("norecompile.jl")
143147

0 commit comments

Comments
 (0)