We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34686f commit 63ced69Copy full SHA for 63ced69
Project.toml
@@ -36,6 +36,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
36
[weakdeps]
37
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
38
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
39
+DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
40
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
41
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
42
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
@@ -58,7 +59,7 @@ SciMLBaseForwardDiffExt = "ForwardDiff"
58
59
SciMLBaseMLStyleExt = "MLStyle"
60
SciMLBaseMakieExt = "Makie"
61
SciMLBaseMonteCarloMeasurementsExt = "MonteCarloMeasurements"
-SciMLBaseMooncakeExt = "Mooncake"
62
+SciMLBaseMooncakeExt = ["Mooncake", "DiffEqBase"]
63
SciMLBasePartialFunctionsExt = "PartialFunctions"
64
SciMLBasePyCallExt = "PyCall"
65
SciMLBasePythonCallExt = "PythonCall"
ext/SciMLBaseDistributionsExt.jl
@@ -5,4 +5,4 @@ using Distributions, SciMLBase
5
SciMLBase.handle_distribution_u0(_u0::Distributions.Sampleable) = rand(_u0)
6
SciMLBase.isdistribution(_u0::Distributions.Sampleable) = true
7
8
-end
+end
ext/SciMLBaseForwardDiffExt.jl
@@ -3,11 +3,12 @@ module SciMLBaseForwardDiffExt
3
using SciMLBase, ForwardDiff
4
using ArrayInterface
-import SciMLBase:
- wrapfun_oop, wrapfun_iip, isdualtype, value, DualEltypeChecker,
- AbstractTimeseriesSolution, NonlinearProblem, NonlinearLeastSquaresProblem,
9
- ODEProblem, SDEProblem, RODEProblem, DDEProblem, PDEProblem, DAEProblem,
10
- RecursiveArrayTools, totallength, sse, anyeltypedual, reduce_tup
+import SciMLBase:
+ wrapfun_oop, wrapfun_iip, isdualtype, value, DualEltypeChecker,
+ AbstractTimeseriesSolution, NonlinearProblem,
+ NonlinearLeastSquaresProblem,
+ ODEProblem, SDEProblem, RODEProblem, DDEProblem, PDEProblem, DAEProblem,
11
+ RecursiveArrayTools, totallength, sse, anyeltypedual, reduce_tup
12
13
eltypedual(x) = eltype(x) <: ForwardDiff.Dual
14
isdualtype(::Type{<:ForwardDiff.Dual}) = true
ext/SciMLBaseMonteCarloMeasurementsExt.jl
@@ -32,4 +32,4 @@ function SciMLBase.unitfulvalue(x::Type{MonteCarloMeasurements.AbstractParticles
32
end
33
SciMLBase.unitfulvalue(x::MonteCarloMeasurements.AbstractParticles) = mean(x.particles)
34
35
ext/SciMLBaseMooncakeExt.jl
@@ -2,6 +2,7 @@ module SciMLBaseMooncakeExt
2
using SciMLBase, Mooncake
using SciMLBase: ADOriginator, ChainRulesOriginator, MooncakeOriginator
+using DiffEqBase: DiffEqBase
import Mooncake: rrule!!, CoDual, zero_fcodual, @is_primitive,
@from_rrule, @zero_adjoint, @mooncake_overlay, MinimalCtx,
NoPullback
@@ -20,6 +21,4 @@ function rrule!!(
20
21
return zero_fcodual(SciMLBase.MooncakeOriginator()), NoPullback(f, X)
22
23
-
24
25
ext/SciMLBaseReverseDiffExt.jl
@@ -54,4 +54,4 @@ function SciMLBase.promote_u0(
54
55
SciMLBase.promote_u0(u0, p::AbstractArray{<:ReverseDiff.TrackedReal}, t0) = eltype(p).(u0)
56
57
ext/SciMLBaseTrackerExt.jl
@@ -33,5 +33,4 @@ SciMLBase.promote_u0(u0, p::AbstractArray{<:Tracker.TrackedReal}, t0) = eltype(p
@inline Base.any(f::Function, x::Tracker.TrackedArray) = any(f, Tracker.data(x))
src/clock.jl
@@ -130,7 +130,7 @@ end
130
$(TYPEDEF)
131
132
A struct representing the operation of indexing a clock to obtain a subset of the time
133
-points at which it ticked. The actual list of time points depends on the tick instances
+points at which it ticked. The actual list of time points depends on the tick instances
134
on which the clock was ticking, and can be obtained via `canonicalize_indexed_clock`
135
by providing a timeseries solution object.
136
src/debug.jl
@@ -58,7 +58,8 @@ expression. Two common reasons for this issue are:
function __init__()
Base.Experimental.register_error_hint(DomainError) do io, e
- if e isa DomainError && occursin("will only return a complex result if called with a complex argument. Try ", e.msg)
+ if e isa DomainError &&
+ occursin("will only return a complex result if called with a complex argument. Try ", e.msg)
println(io, DOMAINERROR_COMPLEX_MSG)
src/errors.jl
@@ -90,7 +90,6 @@ const allowedkeywords = (:dense,
90
# Parameter estimation with BVP
91
:fit_parameters)
92
93
94
const KWARGWARN_MESSAGE = """
95
Unrecognized keyword arguments found.
96
The only allowed keyword arguments to `solve` are:
@@ -469,4 +468,4 @@ struct LateBindingTstopsNotSupportedError <: Exception end
469
468
function Base.showerror(io::IO, e::LateBindingTstopsNotSupportedError)
470
println(io, LATE_BINDING_TSTOPS_ERROR_MESSAGE)
471
println(io, TruncatedStacktraces.VERBOSE_MSG)
472
0 commit comments