Skip to content

Commit 3bc4fc8

Browse files
authored
Merge branch 'master' into feature/FileDFG_testing
2 parents 1e041bd + 3b03369 commit 3bc4fc8

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ jobs:
2222
include:
2323
- julia: 1.2
2424
env: IIF_TEST=true
25+
if: NOT branch =~ ^release.*$
2526
- stage: "Documentation"
2627
julia: 1.0
2728
os: linux
2829
script:
29-
- julia -e 'import Pkg; Pkg.add("Documenter"); Pkg.add("Neo4j"); Pkg.add("GraphPlot")'
30-
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
31-
Pkg.instantiate()'
30+
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
3231
- julia --project=docs/ docs/make.jl
3332
after_success: skip
33+
fast_finish: true
3434

3535
notifications:
3636
email: false
3737

3838
matrix:
3939
allow_failures:
4040
- julia: nightly
41-
- env: IIF_TEST=true
41+
# - env: IIF_TEST=true
4242

4343
# Set the password for Neo4j to neo4j:test
4444
before_script:

docs/Project.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3-
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
43

54
[compat]
6-
Documenter = "~0.21"
5+
Documenter = "0.23"

docs/make.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Documenter
2-
using DataFrames
32
using DistributedFactorGraphs
43

54
makedocs(

src/CloudGraphsDFG/services/CloudGraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function getFactor(dfg::CloudGraphsDFG, factorId::Int64)::DFGFactor
258258
factor = dfg.rebuildFactorMetadata!(dfg, factor)
259259
# GUARANTEED never to bite us in the future...
260260
# ... TODO: refactor if changed: https://github.com/JuliaRobotics/IncrementalInference.jl/issues/350
261-
getData(factor).fncargvID = _variableOrderSymbols
261+
solverData(factor).fncargvID = _variableOrderSymbols
262262

263263
# Add to cache
264264
push!(dfg.factorCache, factor.label=>factor)

src/FileDFG/services/FileDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function loadDFG(folder::String, iifModule, dfgLoadInto::G) where G <: AbstractD
7171
# PATCH - To update the fncargvID for factors, it's being cleared somewhere in rebuildFactorMetadata.
7272
# TEMPORARY
7373
# TODO: Remove in future
74-
map(f->getData(f).fncargvID = f._variableOrderSymbols, getFactors(dfgLoadInto))
74+
map(f->solverData(f).fncargvID = f._variableOrderSymbols, getFactors(dfgLoadInto))
7575

7676
return dfgLoadInto
7777
end

src/services/AbstractDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ isFactor(dfg::G, sym::Symbol) where G <: AbstractDFG = hasFactor(dfg, sym)
547547
Return reference to the user factor in `<:AbstractDFG` identified by `::Symbol`.
548548
"""
549549
getFactorFunction(fcd::GenericFunctionNodeData) = fcd.fnc.usrfnc!
550-
getFactorFunction(fc::DFGFactor) = getFactorFunction(getData(fc))
550+
getFactorFunction(fc::DFGFactor) = getFactorFunction(solverData(fc))
551551
function getFactorFunction(dfg::G, fsym::Symbol) where G <: AbstractDFG
552552
getFactorFunction(getFactor(dfg, fsym))
553553
end

0 commit comments

Comments
 (0)