Skip to content

Commit 5ecbf0b

Browse files
authored
Merge pull request #802 from JuliaRobotics/21Q3/tests/solvetreeapi
solveTree! returns only tree
2 parents 3bd47e4 + 8eb59f9 commit 5ecbf0b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

test/attic/HexagonalCloud.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ localFgCopy = deepcopy(localFg)
4343
# Show it
4444
toDotFile(localFg, "/tmp/localfg.dot")
4545

46-
tree, smtasks = solveTree!(localFg)
46+
tree = solveTree!(localFg)
4747

4848
# solveTree!(cloudFg)
4949

test/attic/HexagonalLightGraphs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ end
2222
# Alrighty! At this point, we should be able to solve locally...
2323
# perform inference, and remember first runs are slower owing to Julia's just-in-time compiling
2424
# Can do with graph too!
25-
tree, smt, hist = solveTree!(fg)
25+
tree = solveTree!(fg)

test/attic/IIF4DoorsTests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ addFactor!(fg,[:x7], mlc )
6969

7070
dfgplot(fg)
7171

72-
tree, smt, hist = solveTree!(fg)
72+
tree = solveTree!(fg)
7373

7474

7575
end

test/iifCompareTests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ using Test
3737
@test compareFactorGraphs(fg, fg)
3838
@test compareFactorGraphs(fg, fg2)
3939

40-
tree, smt, hist = solveTree!(fg)
40+
tree = solveTree!(fg)
4141

4242
x1a = getVariable(fg, :x0)
4343
x1b = getVariable(fg2, :x0)

test/solveTest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ f1 = addFactor!(dfg, [:a; :b], LinearRelative(Normal(50.0,2.0)) )
88
f2 = addFactor!(dfg, [:b; :c], LinearRelative(Normal(50.0,2.0)) )
99

1010
# Solve it
11-
tree, smtasks = solveTree!(dfg)
11+
tree = solveTree!(dfg)

test/testFurther.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ dfgLocal = LightDFG{SolverParams}(solverParams=SolverParams())
2222
DistributedFactorGraphs.getSubgraph(dfg, union(ls(dfg), lsf(dfg)), true, dfgLocal)
2323

2424
# Solve it
25-
tree, smtasks = solveTree!(dfgLocal)
25+
tree = solveTree!(dfgLocal)

0 commit comments

Comments
 (0)