File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ DiffRules = "b552c78f-8df3-52c6-915a-8e097449b14b"
15
15
ForwardDiff = " f6369f11-7733-5829-9624-2563aa707210"
16
16
IntervalSets = " 8197267c-284f-5f27-9208-e0e47529a953"
17
17
RecipesBase = " 3cdcf5f2-1ef4-517c-9805-6587b60abb01"
18
+ SparseArrays = " 2f01184e-e22b-5df5-ae63-d93ebab69eaf"
18
19
19
20
[extensions ]
20
21
IntervalArithmeticDiffRulesExt = " DiffRules"
21
22
IntervalArithmeticForwardDiffExt = " ForwardDiff"
22
23
IntervalArithmeticIntervalSetsExt = " IntervalSets"
23
24
IntervalArithmeticRecipesBaseExt = " RecipesBase"
25
+ IntervalArithmeticSparseArraysExt = " SparseArrays"
24
26
25
27
[compat ]
26
28
CRlibm = " 1.0.2"
@@ -32,4 +34,5 @@ MacroTools = "0.5"
32
34
OpenBLASConsistentFPCSR_jll = " 0.3.29"
33
35
RecipesBase = " 1"
34
36
RoundingEmulator = " 0.2"
37
+ SparseArrays = " 1.9.0"
35
38
julia = " 1.9"
Original file line number Diff line number Diff line change
1
+ module IntervalArithmeticSparseArraysExt
2
+
3
+ using IntervalArithmetic
4
+ import SparseArrays
5
+
6
+ SparseArrays. _iszero (x:: Interval ) = isthinzero (x)
7
+
8
+ SparseArrays. _isnotzero (x:: Interval ) = ! isthinzero (x)
9
+
10
+ end
You can’t perform that action at this time.
0 commit comments