We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 392928d commit b218964Copy full SHA for b218964
1 file changed
src/to_vec.jl
@@ -23,7 +23,7 @@ to_vec(x::Vector{<:Real}) = (x, identity)
23
24
# get around the constructors and make the type directly
25
@generated function _force_construct(T, args...)
26
- return if VERSION >= 1.3
+ return if VERSION >= v"1.3"
27
Expr(:splatnew, :T, :args)
28
else
29
Expr(:new, :T, Any[:(args[$i]) for i in 1:length(args)]...)
0 commit comments