Skip to content

Commit 53bdcf3

Browse files
authored
Fix type parameter warning, mild cleanup (#547)
1 parent 9813b95 commit 53bdcf3

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
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.7"
4+
version = "0.20.8"
55

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

src/IntervalArithmetic.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# This file is part of the IntervalArithmetic.jl package; MIT licensed
22

3-
__precompile__(true)
4-
53
module IntervalArithmetic
64

75
import CRlibm
@@ -66,12 +64,7 @@ export
6664
pow, extended_div,
6765
setformat, @format
6866

69-
if VERSION >= v"1.5.0-DEV.124"
70-
import Base: isdisjoint
71-
else
72-
export isdisjoint
73-
end
74-
67+
import Base: isdisjoint
7568

7669
export
7770
setindex # re-export from StaticArrays for IntervalBox

src/multidim/intervalbox.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ IntervalBox(x) = IntervalBox(x...)
1818
IntervalBox(X::IntervalBox, n) = foldl(×, Iterators.repeated(X, n))
1919

2020
# construct from two vectors giving bottom and top corners:
21-
IntervalBox(lo::AbstractVector, hi::AbstractVector) where {N,T} = IntervalBox(force_interval.(lo, hi))
21+
IntervalBox(lo::AbstractVector, hi::AbstractVector) = IntervalBox(force_interval.(lo, hi))
2222

2323
IntervalBox(lo::SVector{N,T}, hi::SVector{N,T}) where {N,T} = IntervalBox(force_interval.(lo, hi))
2424

0 commit comments

Comments
 (0)