Skip to content

Commit 533eef6

Browse files
committed
Remove FillArrays and TruncatedStacktraces
1 parent c988a92 commit 533eef6

24 files changed

+0
-99
lines changed

Project.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"
1111
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
1212
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
1313
EnumX = "4e289a0a-7415-4d19-859d-a7e5c4648b56"
14-
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
1514
FunctionWrappersWrappers = "77dc65aa-8811-40c2-897b-53d922fa7daf"
1615
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
1716
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -29,7 +28,6 @@ StaticArraysCore = "1e83bf80-4336-4d27-bf5d-d5a4f845583c"
2928
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
3029
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
3130
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
32-
TruncatedStacktraces = "781d530d-4396-4725-bb49-402e4bee1e77"
3331

3432
[weakdeps]
3533
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
@@ -61,7 +59,6 @@ DataFrames = "1.6"
6159
Distributed = "1.10"
6260
DocStringExtensions = "0.9"
6361
EnumX = "1"
64-
FillArrays = "1.9"
6562
FunctionWrappersWrappers = "0.1.3"
6663
IteratorInterfaceExtensions = "^1"
6764
LinearAlgebra = "1.10"
@@ -86,7 +83,6 @@ StaticArraysCore = "1.4"
8683
Statistics = "1.10"
8784
SymbolicIndexingInterface = "0.3.3"
8885
Tables = "1.11"
89-
TruncatedStacktraces = "1.4"
9086
Zygote = "0.6.67"
9187
julia = "1.10"
9288

src/SciMLBase.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ import CommonSolve: solve, init, step!, solve!
2020
import FunctionWrappersWrappers
2121
import RuntimeGeneratedFunctions
2222
import EnumX
23-
import TruncatedStacktraces
2423
import ADTypes: AbstractADType
25-
import FillArrays
2624

2725
using Reexport
2826
using SciMLOperators

src/callbacks.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ function ContinuousCallback(condition, affect!;
155155
dtrelax, abstol, reltol, repeat_nudge)
156156
end
157157

158-
TruncatedStacktraces.@truncate_stacktrace ContinuousCallback
159-
160158
"""
161159
```julia
162160
VectorContinuousCallback(condition, affect!, affect_neg!, len;
@@ -263,8 +261,6 @@ function VectorContinuousCallback(condition, affect!, len;
263261
dtrelax, abstol, reltol, repeat_nudge)
264262
end
265263

266-
TruncatedStacktraces.@truncate_stacktrace VectorContinuousCallback
267-
268264
"""
269265
```julia
270266
DiscreteCallback(condition, affect!;
@@ -317,8 +313,6 @@ function DiscreteCallback(condition, affect!;
317313
DiscreteCallback(condition, affect!, initialize, finalize, save_positions)
318314
end
319315

320-
TruncatedStacktraces.@truncate_stacktrace DiscreteCallback
321-
322316
"""
323317
$(TYPEDEF)
324318

src/problems/analytical_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ struct AnalyticalProblem{uType, tType, isinplace, P, F, K} <:
2222
end
2323
end
2424

25-
TruncatedStacktraces.@truncate_stacktrace AnalyticalProblem 3 1 2
26-
2725
function AnalyticalProblem(f, u0, tspan, p = NullParameters(); kwargs...)
2826
iip = isinplace(f, 4)
2927
AnalyticalProblem{iip}(f, u0, tspan, p; kwargs...)

src/problems/basic_problems.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ function LinearProblem(A, b, args...; kwargs...)
7777
end
7878
end
7979

80-
TruncatedStacktraces.@truncate_stacktrace LinearProblem 1
81-
8280
"""
8381
$(TYPEDEF)
8482
"""
@@ -169,7 +167,6 @@ struct IntervalNonlinearProblem{isinplace, tType, P, F, K, PT} <:
169167
IntervalNonlinearProblem{iip}(IntervalNonlinearFunction{iip}(f), tspan, p)
170168
end
171169
end
172-
TruncatedStacktraces.@truncate_stacktrace IntervalNonlinearProblem 1 2
173170

174171
"""
175172
$(SIGNATURES)
@@ -269,7 +266,6 @@ struct NonlinearProblem{uType, isinplace, P, F, K, PT} <:
269266
end
270267
end
271268

272-
TruncatedStacktraces.@truncate_stacktrace NonlinearProblem 2 1
273269
"""
274270
$(SIGNATURES)
275271
@@ -380,8 +376,6 @@ struct NonlinearLeastSquaresProblem{uType, isinplace, P, F, K} <:
380376
end
381377
end
382378

383-
TruncatedStacktraces.@truncate_stacktrace NonlinearLeastSquaresProblem 2 1
384-
385379
"""
386380
$(SIGNATURES)
387381
@@ -459,8 +453,6 @@ struct IntegralProblem{isinplace, P, F, T, K} <: AbstractIntegralProblem{isinpla
459453
end
460454
end
461455

462-
TruncatedStacktraces.@truncate_stacktrace IntegralProblem 1 4
463-
464456
function IntegralProblem(f::AbstractIntegralFunction,
465457
domain,
466458
p = NullParameters();
@@ -568,5 +560,3 @@ struct SampledIntegralProblem{Y, X, K} <: AbstractIntegralProblem{false}
568560
new{typeof(y), typeof(x), typeof(kwargs)}(y, x, dim, kwargs)
569561
end
570562
end
571-
572-
TruncatedStacktraces.@truncate_stacktrace SampledIntegralProblem

src/problems/bvp_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ struct BVProblem{uType, tType, isinplace, P, F, PT, K} <:
135135
end
136136
end
137137

138-
TruncatedStacktraces.@truncate_stacktrace BVProblem 3 1 2
139-
140138
function BVProblem(f, bc, u0, tspan, p = NullParameters(); kwargs...)
141139
iip = isinplace(f, 4)
142140
return BVProblem{iip}(BVPFunction{iip}(f, bc), u0, tspan, p; kwargs...)

src/problems/dae_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ struct DAEProblem{uType, duType, tType, isinplace, P, F, K, D} <:
105105
end
106106
end
107107

108-
TruncatedStacktraces.@truncate_stacktrace DAEProblem 4 1 3
109-
110108
function DAEProblem(f::AbstractDAEFunction, du0, u0, tspan, p = NullParameters(); kwargs...)
111109
DAEProblem{isinplace(f)}(f, du0, u0, tspan, p; kwargs...)
112110
end

src/problems/dde_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ struct DDEProblem{uType, tType, lType, lType2, isinplace, P, F, H, K, PT} <:
253253
end
254254
end
255255

256-
TruncatedStacktraces.@truncate_stacktrace DDEProblem 5 1 2
257-
258256
DDEProblem(f, args...; kwargs...) = DDEProblem(DDEFunction(f), args...; kwargs...)
259257

260258
function DDEProblem(f::AbstractDDEFunction, args...; kwargs...)

src/problems/discrete_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ struct DiscreteProblem{uType, tType, isinplace, P, F, K} <:
122122
end
123123
end
124124

125-
TruncatedStacktraces.@truncate_stacktrace DiscreteProblem 3 1 2
126-
127125
"""
128126
DiscreteProblem{isinplace}(f,u0,tspan,p=NullParameters(),callback=nothing)
129127

src/problems/implicit_discrete_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ struct ImplicitDiscreteProblem{uType, tType, isinplace, P, F, K} <:
104104
end
105105
end
106106

107-
TruncatedStacktraces.@truncate_stacktrace ImplicitDiscreteProblem 3 1 2
108-
109107
"""
110108
ImplicitDiscreteProblem{isinplace}(f,u0,tspan,p=NullParameters(),callback=nothing)
111109

src/problems/noise_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ struct NoiseProblem{N <: AbstractNoiseProcess, T, K} <: AbstractNoiseProblem
88
kwargs::K
99
end
1010

11-
TruncatedStacktraces.@truncate_stacktrace NoiseProblem 1
12-
1311
@add_kwonly function NoiseProblem(noise, tspan; seed = UInt64(0), kwargs...)
1412
_tspan = promote_tspan(tspan)
1513
NoiseProblem{typeof(noise), typeof(_tspan), typeof(kwargs)}(noise, _tspan, seed, kwargs)

src/problems/ode_problems.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ mutable struct ODEProblem{uType, tType, isinplace, P, F, K, PT} <:
163163
ODEProblem{iip}(ff, _u0, _tspan, p; kwargs...)
164164
end
165165
end
166-
TruncatedStacktraces.@truncate_stacktrace ODEProblem 3 1 2
167166

168167
function Base.setproperty!(prob::ODEProblem, s::Symbol, v)
169168
@warn "Mutation of ODEProblem detected. SciMLBase v2.0 has made ODEProblem temporarily mutable in order to allow for interfacing with EnzymeRules due to a current limitation in the rule system. This change is only intended to be temporary and ODEProblem will return to being a struct in a later non-breaking release. Do not rely on this behavior, use with caution."

src/problems/optimization_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@ struct OptimizationProblem{iip, F, uType, P, LB, UB, I, LC, UC, S, K} <:
119119
end
120120
end
121121

122-
TruncatedStacktraces.@truncate_stacktrace OptimizationProblem 1 3
123-
124122
function OptimizationProblem(f::OptimizationFunction, args...; kwargs...)
125123
OptimizationProblem{isinplace(f)}(f, args...; kwargs...)
126124
end

src/problems/rode_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ mutable struct RODEProblem{uType, tType, isinplace, P, NP, F, K, ND} <:
8383
end
8484
end
8585

86-
TruncatedStacktraces.@truncate_stacktrace RODEProblem 3 1 2
87-
8886
function RODEProblem(f::RODEFunction, u0, tspan, p = NullParameters(); kwargs...)
8987
RODEProblem{isinplace(f)}(f, u0, tspan, p; kwargs...)
9088
end

src/problems/sdde_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ struct SDDEProblem{uType, tType, lType, lType2, isinplace, P, NP, F, G, H, K, ND
150150
end
151151
end
152152

153-
TruncatedStacktraces.@truncate_stacktrace SDDEProblem 5 1 2
154-
155153
function SDDEProblem(f, g, args...; kwargs...)
156154
SDDEProblem(SDDEFunction(f, g), g, args...; kwargs...)
157155
end

src/problems/sde_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ struct SDEProblem{uType, tType, isinplace, P, NP, F, G, K, ND} <:
116116
end
117117
end
118118

119-
TruncatedStacktraces.@truncate_stacktrace SDEProblem 3 1 2
120-
121119
function SDEProblem(f::AbstractSDEFunction, u0, tspan, p = NullParameters(); kwargs...)
122120
SDEProblem{isinplace(f)}(f, u0, tspan, p; kwargs...)
123121
end

src/problems/steady_state_problems.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ struct SteadyStateProblem{uType, isinplace, P, F, K} <:
9999
end
100100
end
101101

102-
TruncatedStacktraces.@truncate_stacktrace SteadyStateProblem 2 1
103-
104102
"""
105103
$(SIGNATURES)
106104

0 commit comments

Comments
 (0)