Skip to content

Commit c253495

Browse files
committed
Mostly finished with parametric manopt refactor
1 parent 7f25694 commit c253495

File tree

4 files changed

+150
-210
lines changed

4 files changed

+150
-210
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ version = "0.34.1"
88
ApproxManifoldProducts = "9bbbb610-88a1-53cd-9763-118ce10c1f89"
99
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
1010
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
11-
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e"
1211
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
1312
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1413
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
@@ -67,7 +66,6 @@ IncrInfrInterpolationsExt = "Interpolations"
6766
[compat]
6867
ApproxManifoldProducts = "0.7, 0.8"
6968
BSON = "0.2, 0.3"
70-
BlockArrays = "0.16"
7169
Combinatorics = "1.0"
7270
DataStructures = "0.16, 0.17, 0.18"
7371
DelimitedFiles = "1"

src/IncrementalInference.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ include("parametric/services/ConsolidateParametricRelatives.jl")
221221
include("parametric/services/ParametricCSMFunctions.jl")
222222
include("parametric/services/ParametricUtils.jl")
223223
include("parametric/services/ParametricOptim.jl")
224-
include("parametric/services/ParametricManoptDev.jl")
224+
include("parametric/services/ParametricManopt.jl")
225225
include("services/MaxMixture.jl")
226226

227227
#X-stroke

src/entities/CalcFactor.jl

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,7 @@ struct CalcFactorMahalanobis{
8686
end
8787

8888

89-
# struct CalcFactorMahalanobis{N, D, L, S <: Union{Nothing, AbstractMaxMixtureSolver}} <: AbstractCalcFactor{FT}
90-
# faclbl::Symbol
91-
# calcfactor!::CalcFactor
92-
# varOrder::Vector{Symbol}
93-
# meas::NTuple{N, <:AbstractArray}
94-
# iΣ::NTuple{N, SMatrix{D, D, Float64, L}}
95-
# specialAlg::S
96-
# end
97-
98-
#rename to CalcFactorResidual
99-
struct CalcFactorManopt{
89+
struct CalcFactorResidual{
10090
FT <: AbstractFactor,
10191
C,
10292
D,
@@ -116,8 +106,8 @@ struct CalcFactorManopt{
116106
sqrt_iΣ::SMatrix{D, D, Float64, L}
117107
end
118108

119-
_nvars(::CalcFactorManopt{FT, C, D, L, P, MEAS, N}) where {FT, C, D, L, P, MEAS, N} = N
109+
_nvars(::CalcFactorResidual{FT, C, D, L, P, MEAS, N}) where {FT, C, D, L, P, MEAS, N} = N
120110
# _typeof_meas(::CalcFactorManopt{FT, C, D, L, MEAS, N}) where {FT, C, D, L, MEAS, N} = MEAS
121-
DFG.getDimension(::CalcFactorManopt{FT, C, D, L, P, MEAS, N}) where {FT, C, D, L, P, MEAS, N} = D
111+
DFG.getDimension(::CalcFactorResidual{FT, C, D, L, P, MEAS, N}) where {FT, C, D, L, P, MEAS, N} = D
122112

123113

0 commit comments

Comments
 (0)