The variable z is not allowed to be nothing due to the type declaration.
test_optional_vector(x,y,z::Union{Vector{Float64}, Nothing}=nothing) should work.
1 Like
The variable z is not allowed to be nothing due to the type declaration.
test_optional_vector(x,y,z::Union{Vector{Float64}, Nothing}=nothing) should work.