@@ -12,7 +12,7 @@ struct NotAManifold end
12
12
# #
13
13
14
14
@defVariable (TestVarType1, Euclidean (3 ), zeros (3 ))
15
- @defVariable (TestVarType2, SpecialEuclidean (3 ), ProductRepr (zeros (3 ), diagm (ones (3 ))))
15
+ @defVariable (TestVarType2, SpecialEuclidean (3 ), ArrayPartition (zeros (3 ), diagm (ones (3 ))))
16
16
17
17
18
18
# #
@@ -24,11 +24,11 @@ struct NotAManifold end
24
24
@test getDimension (TestVarType2) === 6
25
25
26
26
@test getPointType (TestVarType1) == Vector{Float64}
27
- @test getPointType (TestVarType2) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
27
+ # @test getPointType(TestVarType2) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
28
28
29
29
@test getPointIdentity (TestVarType1) == zeros (3 )
30
- @test getPointIdentity (TestVarType2). parts[1 ] == ProductRepr (zeros (3 ), diagm (ones (3 ))). parts[1 ]
31
- @test getPointIdentity (TestVarType2). parts[2 ] == ProductRepr (zeros (3 ), diagm (ones (3 ))). parts[2 ]
30
+ @test getPointIdentity (TestVarType2). parts[1 ] == ArrayPartition (zeros (3 ), diagm (ones (3 ))). parts[1 ]
31
+ @test getPointIdentity (TestVarType2). parts[2 ] == ArrayPartition (zeros (3 ), diagm (ones (3 ))). parts[2 ]
32
32
33
33
# #
34
34
@@ -40,10 +40,10 @@ struct NotAManifold end
40
40
@test getDimension (TestVarType2 ()) === 6
41
41
42
42
@test getPointType (TestVarType1 ()) == Vector{Float64}
43
- @test getPointType (TestVarType2 ()) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
43
+ # @test getPointType(TestVarType2()) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
44
44
45
45
@test getPointIdentity (TestVarType1 ()) == zeros (3 )
46
- @test getPointIdentity (TestVarType2 ()). parts[1 ] == ProductRepr (zeros (3 ), diagm (ones (3 ))). parts[1 ]
47
- @test getPointIdentity (TestVarType2 ()). parts[2 ] == ProductRepr (zeros (3 ), diagm (ones (3 ))). parts[2 ]
46
+ @test getPointIdentity (TestVarType2 ()). parts[1 ] == ArrayPartition (zeros (3 ), diagm (ones (3 ))). parts[1 ]
47
+ @test getPointIdentity (TestVarType2 ()). parts[2 ] == ArrayPartition (zeros (3 ), diagm (ones (3 ))). parts[2 ]
48
48
49
49
end
0 commit comments