Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mrufsvold committed Nov 7, 2024
1 parent 32fcba5 commit 0c853fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ end

function _positive_int(x::T, purpose::String) where {T<:Union{AbstractFloat, Integer}}
if T <: AbstractFloat
if x == Inf
if x == Inf
return typemax(Int)
end
x = try
Expand Down

0 comments on commit 0c853fe

Please sign in to comment.