Skip to content

Commit 7ffe7fd

Browse files
committed
Call Base.Bool
1 parent 9ff13a2 commit 7ffe7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intervals/exact_literals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Base.promote_rule(::Type{ExactReal{T}}, ::Type{Interval{S}}) where {T<:Real,S<:B
110110

111111
# to Real
112112

113-
Bool(x::ExactReal) = convert(Bool, x) # needed to resolve ambiguity
113+
Base.Bool(x::ExactReal) = convert(Bool, x) # needed to resolve ambiguity
114114
(::Type{T})(x::ExactReal) where {T<:Real} = convert(T, x)
115115
Interval{T}(x::ExactReal) where {T<:BoundTypes} = convert(Interval{T}, x) # needed to resolve ambiguity
116116
Interval(x::ExactReal) = Interval{promote_boundtype(boundtype(x.value), boundtype(x.value))}(x) # needed to resolve ambiguity

0 commit comments

Comments
 (0)