Skip to content

Commit

Permalink
Merge pull request #736 from nsajko/t
Browse files Browse the repository at this point in the history
fix type parameter declaration
  • Loading branch information
YingboMa authored Oct 7, 2022
2 parents 89afff2 + b6e3dab commit e45badf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/domains.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ function infimum(d::AbstractInterval{T}) where T <: Num
leftendpoint(d)
end

function supremum(d::AbstractInterval{Num}) where T <: Num
function supremum(d::AbstractInterval{T}) where T <: Num
rightendpoint(d)
end

0 comments on commit e45badf

Please sign in to comment.