Skip to content

Commit

Permalink
Fix eltype from table
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 22, 2024
1 parent 6af76bd commit 3594f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ end
@test collect(GO.flatten(GI.x, GI.PointTrait, very_wrapped)) == first.(vcat(pv1, pv2))
@testset "flatten with tables" begin
# Construct a simple table with a geometry column
geom_column = [GI.Point(1,1), GI.Point(2,2), GI.Point(3,3)]
geom_column = [GI.Point(1.0,1.0), GI.Point(2.0,2.0), GI.Point(3.0,3.0)]
table = (geometry = geom_column, id = [1, 2, 3])

# Test flatten on the table
Expand Down

0 comments on commit 3594f77

Please sign in to comment.