Open KristofferC opened 3 years ago
I feel both of these should work:
julia> c = Coordinates([1,2,3], [1,2,3], meta = [1,2,3]) Coordinates{2}(Union{Nothing, Coordinate{2}}[Coordinate{2}((1, 1), nothing, nothing, nothing, 1), Coordinate{2}((2, 2), nothing, nothing, nothing, 2), Coordinate{2}((3, 3), nothing, nothing, nothing, 3)]) julia> c = Coordinates([(1,1), (2,2), (3,3)], meta = [1,2,3]) ERROR: MethodError: no method matching Coordinates(::Array{Tuple{Int64,Int64},1}; meta=[1, 2, 3])
I feel both of these should work: