We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7c36f commit 47c1050Copy full SHA for 47c1050
src/Options.jl
@@ -38,11 +38,7 @@ function Options{T<:OptionsChecking}(::Type{T},args...)
38
end
39
n = div(length(args),2)
40
keys, index, vals = if n > 0
41
- if VERSION < v"0.4-"
42
- (args[1:2:end], ntuple(n, identity), Any[args[2:2:end]...])
43
- else
44
- (args[1:2:end], ntuple(identity, n), Any[args[2:2:end]...])
45
- end
+ (args[1:2:end], ntuple(identity, n), Any[args[2:2:end]...])
46
else
47
((), (), Array(Any, 0))
48
0 commit comments