File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
41
41
Distributions = " 31c24e10-a181-5473-b8eb-7969acd0382f"
42
42
Enzyme = " 7da242da-08ed-463a-9acd-ee780be4f1d9"
43
43
GeneralizedGenerated = " 6b9d7cbe-bcb9-11e9-073f-15a7a543e2eb"
44
+ GTPSA = " b27dd330-f138-47c5-815b-40db9dd9b6e8"
44
45
MPI = " da04e1cc-30fd-572f-bb4f-1f8673147195"
45
46
Measurements = " eff96d63-e80a-5855-80a2-b1b0885c5ab7"
46
47
MonteCarloMeasurements = " 0987c9cc-fe09-11e8-30f0-b96dd679fdca"
@@ -55,6 +56,7 @@ DiffEqBaseChainRulesCoreExt = "ChainRulesCore"
55
56
DiffEqBaseDistributionsExt = " Distributions"
56
57
DiffEqBaseEnzymeExt = [" ChainRulesCore" , " Enzyme" ]
57
58
DiffEqBaseGeneralizedGeneratedExt = " GeneralizedGenerated"
59
+ DiffEqBaseGTPSAExt = " GTPSA"
58
60
DiffEqBaseMPIExt = " MPI"
59
61
DiffEqBaseMeasurementsExt = " Measurements"
60
62
DiffEqBaseMonteCarloMeasurementsExt = " MonteCarloMeasurements"
@@ -81,6 +83,7 @@ ForwardDiff = "0.10"
81
83
FunctionWrappers = " 1.0"
82
84
FunctionWrappersWrappers = " 0.1"
83
85
GeneralizedGenerated = " 0.3"
86
+ GTPSA = " 1.3"
84
87
LinearAlgebra = " 1.9"
85
88
Logging = " 1.9"
86
89
MPI = " 0.20"
Original file line number Diff line number Diff line change
1
+ module DiffEqBaseGTPSAExt
2
+
3
+ if isdefined (Base, :get_extension )
4
+ using DiffEqBase
5
+ import DiffEqBase: value
6
+ using GTPSA
7
+ else
8
+ using .. DiffEqBase
9
+ import .. DiffEqBase: value
10
+ using .. GTPSA
11
+ end
12
+
13
+ value (x:: TPS ) = scalar (x);
14
+ value (:: Type{TPS{T}} ) where {T} = T
15
+
16
+
17
+ end
You can’t perform that action at this time.
0 commit comments