From 3594f778f5dae1c2674c481f285051ced1aa9694 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sun, 22 Sep 2024 11:37:46 -0700 Subject: [PATCH] Fix eltype from table --- test/primitives.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/primitives.jl b/test/primitives.jl index 1c7e602cf..5fe3f8890 100644 --- a/test/primitives.jl +++ b/test/primitives.jl @@ -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