Skip to content

Commit b218964

Browse files
author
Miha Zgubic
committed
fix typo
1 parent 392928d commit b218964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/to_vec.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ to_vec(x::Vector{<:Real}) = (x, identity)
2323

2424
# get around the constructors and make the type directly
2525
@generated function _force_construct(T, args...)
26-
return if VERSION >= 1.3
26+
return if VERSION >= v"1.3"
2727
Expr(:splatnew, :T, :args)
2828
else
2929
Expr(:new, :T, Any[:(args[$i]) for i in 1:length(args)]...)

0 commit comments

Comments
 (0)