Skip to content

Commit cc4511e

Browse files
Bump compat for ManifoldsBase to 2 and rm Manifolds dependancy (#1175)
1 parent 1657788 commit cc4511e

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

Project.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ InteractiveUtils = "1.10"
5555
JSON = "1.0.0"
5656
LieGroups = "0.1"
5757
LinearAlgebra = "1.10"
58-
Manifolds = "0.9, 0.10"
59-
ManifoldsBase = "0.14, 0.15, 1"
58+
ManifoldsBase = "1, 2"
6059
OrderedCollections = "1.4"
6160
Pkg = "1.4, 1.5"
6261
ProgressMeter = "1"
@@ -79,10 +78,9 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
7978
GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2"
8079
LieGroups = "6774de46-80ba-43f8-ba42-e41071ccfc5f"
8180
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
82-
Manifolds = "1cead3c2-87b3-11e9-0ccd-23c62b72b94e"
8381
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
8482
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
8583
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
8684

8785
[targets]
88-
test = ["Aqua", "Test", "GraphMakie", "LinearAlgebra", "Manifolds", "Pkg", "Statistics", "LieGroups"]
86+
test = ["Aqua", "Test", "GraphMakie", "LinearAlgebra", "Pkg", "Statistics", "LieGroups"]

test/plottingTest.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ using GraphMakie
22
using DistributedFactorGraphs
33
# using DistributedFactorGraphs.DFGPlots
44
using Test
5-
using Manifolds
6-
5+
using LieGroups
76
##
87

98
# struct TestInferenceVariable1 <: StateType end
10-
@defStateType TestInferenceVariable1 Euclidean(1) [0.0;]
9+
@defStateType TestInferenceVariable1 TranslationGroup(1) [0.0;]
1110

1211
# Now make a complex graph for connectivity tests
1312
numNodes = 10

test/testBlocks.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ using Test
33
using Dates
44
using LieGroups
55
using LieGroups: TranslationGroup
6-
# using Manifolds
76

87
using DistributedFactorGraphs:
98
LabelExistsError,

test/test_defVariable.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using LieGroups
2-
using Manifolds
32
using Test
43
using LinearAlgebra
54

@@ -12,7 +11,7 @@ using LinearAlgebra
1211

1312
##
1413

15-
@defStateType(TestVarType1, Euclidean(3), zeros(3))
14+
@defStateType(TestVarType1, TranslationGroup(3), zeros(3))
1615
@defStateType(
1716
TestVarType2,
1817
SpecialEuclideanGroup(3),
@@ -21,7 +20,7 @@ using LinearAlgebra
2120

2221
##
2322

24-
@test getManifold(TestVarType1) == Euclidean(3)
23+
@test getManifold(TestVarType1) == TranslationGroup(3)
2524
@test getManifold(TestVarType2) == SpecialEuclideanGroup(3)
2625

2726
@test getDimension(TestVarType1) === 3
@@ -39,7 +38,7 @@ using LinearAlgebra
3938

4039
##
4140

42-
@test getManifold(TestVarType1()) == Euclidean(3)
41+
@test getManifold(TestVarType1()) == TranslationGroup(3)
4342
@test getManifold(TestVarType2()) == SpecialEuclideanGroup(3)
4443

4544
@test getDimension(TestVarType1()) === 3

0 commit comments

Comments
 (0)