Skip to content

Commit

Permalink
Fixed arg type in ctv_toWKT signature ("Table to layer conversion" …
Browse files Browse the repository at this point in the history
…testset)
  • Loading branch information
mathieu17g committed Oct 13, 2021
1 parent 0e12703 commit 6454e09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -802,8 +802,8 @@ using Tables
toWKT_withmissings(x::AG.AbstractGeometry) = AG.toWKT(x)
toWKT_withmissings(x::Any) = x

function ctv_toWKT(x::Tables.ColumnTable)
return Tuple(toWKT_withmissings.(x[i]) for i in 1:length(x))
function ctv_toWKT(x::T) where {T <: NTuple{N, AbstractArray{S, D} where S}} where {N, D}
return Tuple(toWKT_withmissings.(x[i]) for i in 1:N)
end

"""
Expand Down

0 comments on commit 6454e09

Please sign in to comment.