File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ struct NotAManifold end
27
27
@test getPointType (TestVarType2) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
28
28
29
29
@test getPointIdentity (TestVarType1) == zeros (3 )
30
- @test getPointIdentity (TestVarType2) == ProductRepr (zeros (3 ), diagm (ones (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 ]
31
32
32
33
# #
33
34
@@ -42,7 +43,7 @@ struct NotAManifold end
42
43
@test getPointType (TestVarType2 ()) == ProductRepr{Tuple{Vector{Float64}, Matrix{Float64}}}
43
44
44
45
@test getPointIdentity (TestVarType1 ()) == zeros (3 )
45
- @test getPointIdentity (TestVarType2 ()) == ProductRepr (zeros (3 ), diagm (ones (3 )))
46
-
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 ]
47
48
48
49
end
You can’t perform that action at this time.
0 commit comments