Skip to content

Commit 68034ab

Browse files
Merge pull request #1110 from jClugstor/move_to_SciMLBase_backup
Put utilities for solve in SciMLBase
2 parents cee78f8 + ba16476 commit 68034ab

11 files changed

+1367
-15
lines changed

Project.toml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SciMLBase"
22
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
33
authors = ["Chris Rackauckas <[email protected]> and contributors"]
4-
version = "2.111.1"
4+
version = "2.112.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -36,22 +36,35 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
3636
[weakdeps]
3737
ChainRules = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3838
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
39+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
40+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
3941
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
4042
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
43+
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
44+
MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca"
45+
Mooncake = "da2b9cff-9c12-43a0-ae48-6db2b0edb7d6"
4146
PartialFunctions = "570af359-4316-4cb7-8c74-252c00c2016b"
4247
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
4348
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
4449
RCall = "6f49c342-dc21-5d91-9882-a32aef131414"
50+
ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267"
51+
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
4552
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
4653

4754
[extensions]
4855
SciMLBaseChainRulesCoreExt = "ChainRulesCore"
56+
SciMLBaseDistributionsExt = "Distributions"
57+
SciMLBaseForwardDiffExt = "ForwardDiff"
4958
SciMLBaseMLStyleExt = "MLStyle"
5059
SciMLBaseMakieExt = "Makie"
60+
SciMLBaseMonteCarloMeasurementsExt = "MonteCarloMeasurements"
61+
SciMLBaseMooncakeExt = "Mooncake"
5162
SciMLBasePartialFunctionsExt = "PartialFunctions"
5263
SciMLBasePyCallExt = "PyCall"
5364
SciMLBasePythonCallExt = "PythonCall"
5465
SciMLBaseRCallExt = "RCall"
66+
SciMLBaseReverseDiffExt = "ReverseDiff"
67+
SciMLBaseTrackerExt = "Tracker"
5568
SciMLBaseZygoteExt = ["Zygote", "ChainRulesCore"]
5669

5770
[compat]
@@ -64,6 +77,7 @@ ChainRulesCore = "1.18"
6477
CommonSolve = "0.2.4"
6578
ConstructionBase = "1.5"
6679
Distributed = "1.10"
80+
Distributions = "0.25"
6781
DocStringExtensions = "0.9"
6882
EnumX = "1"
6983
ForwardDiff = "0.10.36, 1"
@@ -74,6 +88,9 @@ Logging = "1.10"
7488
MLStyle = "0.4.17"
7589
Makie = "0.20, 0.21, 0.22, 0.23, 0.24"
7690
Markdown = "1.10"
91+
Measurements = "2"
92+
MonteCarloMeasurements = "1"
93+
Mooncake = "0.4"
7794
Moshi = "0.3"
7895
PartialFunctions = "1.1"
7996
PreallocationTools = "0.4.31"
@@ -86,6 +103,7 @@ RCall = "0.14.0"
86103
RecipesBase = "1.3.4"
87104
RecursiveArrayTools = "3.35"
88105
Reexport = "1"
106+
ReverseDiff = "1"
89107
RuntimeGeneratedFunctions = "0.5.12"
90108
SciMLOperators = "1.3"
91109
SciMLStructures = "1.1"
@@ -95,6 +113,7 @@ StaticArraysCore = "1.4"
95113
Statistics = "1.10"
96114
SymbolicIndexingInterface = "0.3.36"
97115
Tables = "1.11"
116+
Tracker = "0.2"
98117
Zygote = "0.7.10"
99118
julia = "1.10"
100119

ext/SciMLBaseDistributionsExt.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module SciMLBaseDistributionsExt
2+
3+
using Distributions, SciMLBase
4+
5+
SciMLBase.handle_distribution_u0(_u0::Distributions.Sampleable) = rand(_u0)
6+
SciMLBase.isdistribution(_u0::Distributions.Sampleable) = true
7+
8+
end

0 commit comments

Comments
 (0)