Skip to content

Commit b626fe4

Browse files
authored
Merge pull request #664 from JuliaRobotics/master
v0.10.5-rc1
2 parents 57769a3 + 419a31d commit b626fe4

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DistributedFactorGraphs"
22
uuid = "b5cc3c7e-6572-11e9-2517-99fb8daf2f04"
3-
version = "0.10.4"
3+
version = "0.10.5"
44

55
[deps]
66
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

src/Deprecated.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,15 @@ function updateVariableSolverData!(dfg::AbstractDFG,
125125
Base.depwarn("updateVariableSolverData! argument verbose is deprecated in favor of keyword argument `warn_if_absent`, see #643", :updateVariableSolverData!)
126126
updateVariableSolverData!(dfg, variablekey, vnd, solveKey, useCopy, fields; warn_if_absent = verbose)
127127
end
128+
129+
130+
##==============================================================================
131+
## Deprecated in v0.11 Remove in the v0.12 cycle
132+
##==============================================================================
133+
134+
export AbstractRelativeFactor, AbstractRelativeFactorMinimize
135+
136+
const AbstractRelativeFactor = AbstractRelativeRoots
137+
const AbstractRelativeFactorMinimize = AbstractRelativeMinimize
138+
139+

src/DistributedFactorGraphs.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export addData!
190190
# Factor Data
191191
export GenericFunctionNodeData, PackedFunctionNodeData, FunctionNodeData
192192
export FunctorInferenceType, PackedInferenceType
193-
export AbstractPrior, AbstractRelativeFactor, AbstractRelativeFactorMinimize
193+
export AbstractPrior, AbstractRelative, AbstractRelativeRoots, AbstractRelativeMinimize
194194
export FactorOperationalMemory
195195

196196
# accessors
@@ -306,6 +306,9 @@ if get(ENV, "DFG_USE_CGDFG", "") == "true"
306306
end
307307

308308
function __init__()
309+
@warn("BREAKING CHANGE v0.12: deprecating AbstractRelativeFactor, use AbstractRelativeRoots instead")
310+
@warn("BREAKING CHANGE v0.12: deprecating AbstractRelativeFactorMinimize, use AbstractRelativeMinimize instead")
311+
309312
@require GraphPlot = "a2cc645c-3eea-5389-862e-a155d0052231" begin
310313
@info "Including Plots"
311314
include("DFGPlots/DFGPlots.jl")

src/entities/DFGFactor.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ abstract type FactorOperationalMemory <: Function end
1313
# abstract type ConvolutionObject <: FactorOperationalMemory end
1414

1515
abstract type AbstractPrior <: FunctorInferenceType end
16-
abstract type AbstractRelativeFactor <: FunctorInferenceType end
17-
abstract type AbstractRelativeFactorMinimize <: FunctorInferenceType end
16+
abstract type AbstractRelative <: FunctorInferenceType end
17+
abstract type AbstractRelativeRoots <: AbstractRelative end
18+
abstract type AbstractRelativeMinimize <: AbstractRelative end
1819

1920
##==============================================================================
2021
## GenericFunctionNodeData

0 commit comments

Comments
 (0)