Skip to content

Commit 7f3bc12

Browse files
committed
DFG 19, upstream solveGraph! dispatch
1 parent ed89ad1 commit 7f3bc12

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ApproxManifoldProducts = "0.6.3"
5050
BSON = "0.2, 0.3"
5151
Combinatorics = "1.0"
5252
DataStructures = "0.16, 0.17, 0.18"
53-
DistributedFactorGraphs = "0.18.10"
53+
DistributedFactorGraphs = "0.19"
5454
Distributions = "0.24, 0.25"
5555
DocStringExtensions = "0.8, 0.9"
5656
FileIO = "1"

src/IncrementalInference.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ import DistributedFactorGraphs: getPoint, getCoordinates
8282
import DistributedFactorGraphs: getVariableType
8383
import DistributedFactorGraphs: AbstractPointParametricEst, loadDFG
8484
import DistributedFactorGraphs: getFactorType
85+
import DistributedFactorGraphs: solveGraph!, solveGraphParametric!
8586

8687
# will be deprecated in IIF
8788
import DistributedFactorGraphs: isSolvable

src/ParametricUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ end
816816
$SIGNATURES
817817
Add parametric solver to fg, batch solve using [`solveGraphParametric`](@ref) and update fg.
818818
"""
819-
function solveGraphParametric!(
819+
function DFG.solveGraphParametric!(
820820
fg::AbstractDFG;
821821
init::Bool = true,
822822
solveKey::Symbol = :parametric, # FIXME, moot since only :parametric used for parametric solves

src/SolverAPI.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ end
497497
498498
Just an alias, see documentation for `solveTree!`.
499499
"""
500-
const solveGraph! = solveTree!
500+
DFG.solveGraph!(dfg::AbstractDFG, w...;kw...) = solveTree!(dfg, w...;kw...)
501501

502502
"""
503503
$SIGNATURES

0 commit comments

Comments
 (0)