Skip to content

Commit

Permalink
base bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Feb 20, 2017
1 parent a40dadb commit c9eb37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ unsetdisplay(T) =
Find out what output device `T` will display on.
"""
function getdisplay(T, pool; default = nothing)
K = nearest(T, [Any, keys(pool)...])
K = nearest(T, Any[Any, keys(pool)...])
K == Any && (K = nearest(media(T), keys(pool)))
K == Any && default nothing && return default
return pool[K]
Expand Down

0 comments on commit c9eb37c

Please sign in to comment.