Skip to content

Commit

Permalink
Fix version bound
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Aug 16, 2017
1 parent bef6420 commit 49a4d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ function show(io::IO, v::AbstractVariable)
print(io, name(v))
end

if VERSION < v"0.7.0-DEV.1319"
if VERSION < v"0.7.0-DEV.1144" # Define `isone` for base types JuliaLang/julia#22846
isone(x::T) where T = x == one(T)
end

Expand Down

0 comments on commit 49a4d50

Please sign in to comment.