Skip to content

Commit

Permalink
Add at-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsanders committed Feb 19, 2017
1 parent d72113c commit ff4f6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intervals/intervals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ eltype{T<:Real}(x::Interval{T}) = T
Interval(x::Interval) = x
Interval(x::Complex) = Interval(real(x)) + im*Interval(imag(x))

(::Type{Interval{T}}){T}(arg) = Interval(convert(T, arg))
@compat (::Type{Interval{T}}){T}(arg) = Interval(convert(T, arg))

## Include files
include("special.jl")
Expand Down

0 comments on commit ff4f6e2

Please sign in to comment.