Skip to content

Commit 5b16804

Browse files
committed
Move Pose2 definition in tests
1 parent c1ab790 commit 5b16804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testSerializingVariables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ DFG.@defStateTypeN Pose{N} SpecialEuclideanGroup(N; variant = :right) ArrayParti
1313
zeros(SVector{N, Float64}),
1414
SMatrix{N, N, Float64}(I),
1515
)
16+
Pose2 = Pose{2}
1617

1718
## Build a test variable with states, bloblets, and blobentries
1819
function make_test_variable()
@@ -105,7 +106,6 @@ end
105106

106107
# TODO deprecated v0.29, remove this test and unpackOldState
107108
@testset "Serializing Old State" begin
108-
Pose2 = Pose{2}
109109
oldstates = JSON.parsefile(@__DIR__() * "/data/oldstate.json")
110110
states = DFG.unpackOldState.(oldstates)
111111
# just a spot check

0 commit comments

Comments
 (0)