Skip to content

Commit af22f4a

Browse files
authored
Unexport numtype (#499)
* Unexport numtype * Bump patch version
1 parent e94b3ae commit af22f4a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "IntervalArithmetic"
22
uuid = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
33
repo = "https://github.com/JuliaIntervals/IntervalArithmetic.jl.git"
4-
version = "0.20.0"
4+
version = "0.20.1"
55

66
[deps]
77
CRlibm = "96374032-68de-5a5b-8d9e-752f78720389"

src/IntervalArithmetic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export
5858
precedes, strictprecedes, , , , , , contains_zero,
5959
entireinterval, isentire, nai, isnai, isthin, iscommon, isatomic,
6060
widen, inf, sup, bisect, mince,
61-
parameters, eps, dist, numtype,
61+
parameters, eps, dist, #numtype,
6262
midpoint_radius, interval_from_midpoint_radius,
6363
RoundTiesToEven, RoundTiesToAway,
6464
cancelminus, cancelplus, isunbounded,

test/interval_tests/construction.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ end
226226

227227
# PR 496
228228
@test eltype(Interval(1, 2)) == Interval{Float64}
229-
@test numtype(Interval(1, 2)) == Float64
229+
@test IntervalArithmetic.numtype(Interval(1, 2)) == Float64
230230
@test [1 2; 3 4] * Interval(-1, 1) == [-1..1 -2..2;-3..3 -4..4]
231231

232232
@test eltype(IntervalBox(1..2, 2..3)) == Interval{Float64}
233-
@test numtype(IntervalBox(1..2, 2..3)) == Float64
233+
@test IntervalArithmetic.numtype(IntervalBox(1..2, 2..3)) == Float64
234234
end
235235

236236
@testset ".. tests" begin

0 commit comments

Comments
 (0)