Skip to content

Commit 5b9f102

Browse files
committed
save multihypo
1 parent 2555f88 commit 5b9f102

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/FileDFG/services/FileDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function saveDFG(dfg::AbstractDFG, folder::String; compress::Symbol=:null)
2222
if compress != :null
2323
@warn "saveDFG keyword args are deprecated, and folders will be tarred as standard in current and future versions."
2424
end
25-
25+
2626
# TODO: Deprecate the folder functionality in v0.6.1
2727

2828
# Clean up save path if a file is specified

src/entities/DFGFactor.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ mutable struct GenericFunctionNodeData{T, S}
3131
certainhypo::Vector{Int}
3232
solveInProgress::Int
3333
GenericFunctionNodeData{T, S}() where {T, S} = new{T,S}()
34-
GenericFunctionNodeData{T, S}(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{<:Real}=Float64[], x8::Vector{Int}=Int[], x9::Int=0) where {T, S} = new{T,S}(x1, x2, x3, x4, x5, x6, multihypo, x8, x9)
35-
GenericFunctionNodeData(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{<:Real}=Float64[], x8::Vector{Int}=Int[], x9::Int=0) where {T, S} = new{T,S}(x1, x2, x3, x4, x5, x6, multihypo, x8, x9)
34+
GenericFunctionNodeData{T, S}(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{<:Real}=Float64[], certainhypo::Vector{Int}=Int[], x9::Int=0) where {T, S} = new{T,S}(x1, x2, x3, x4, x5, x6, multihypo, certainhypo, x9)
35+
GenericFunctionNodeData(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{<:Real}=Float64[], certainhypo::Vector{Int}=Int[], x9::Int=0) where {T, S} = new{T,S}(x1, x2, x3, x4, x5, x6, multihypo, certainhypo, x9)
3636
# GenericFunctionNodeData(x1, x2, x3, x4, x5::S, x6::T, x7::String) where {T, S} = new{T,S}(x1, x2, x3, x4, x5, x6, x7)
3737
end
3838

@@ -43,9 +43,9 @@ end
4343

4444
# Simply for convenience - don't export, TODO Its used in IIF so maybe it should be exported
4545
const PackedFunctionNodeData{T} = GenericFunctionNodeData{T, <: AbstractString}
46-
PackedFunctionNodeData(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{Float64}=[], x8::Vector{Int}=Int[], x9::Int=0) where {T <: PackedInferenceType, S <: AbstractString} = GenericFunctionNodeData(x1, x2, x3, x4, x5, x6, multihypo, x8, x9)
46+
PackedFunctionNodeData(x1, x2, x3, x4, x5::S, x6::T, multihypo::Vector{Float64}=[], certainhypo::Vector{Int}=Int[], x9::Int=0) where {T <: PackedInferenceType, S <: AbstractString} = GenericFunctionNodeData(x1, x2, x3, x4, x5, x6, multihypo, certainhypo, x9)
4747
const FunctionNodeData{T} = GenericFunctionNodeData{T, Symbol}
48-
FunctionNodeData(x1, x2, x3, x4, x5::Symbol, x6::T, multihypo::Vector{Float64}=[], x8::Vector{Int}=Int[], x9::Int=0) where {T <: Union{FunctorInferenceType, ConvolutionObject}}= GenericFunctionNodeData{T, Symbol}(x1, x2, x3, x4, x5, x6, multihypo, x8, x9)
48+
FunctionNodeData(x1, x2, x3, x4, x5::Symbol, x6::T, multihypo::Vector{Float64}=[], certainhypo::Vector{Int}=Int[], x9::Int=0) where {T <: Union{FunctorInferenceType, ConvolutionObject}}= GenericFunctionNodeData{T, Symbol}(x1, x2, x3, x4, x5, x6, multihypo, certainhypo, x9)
4949

5050
##==============================================================================
5151
## Factors

0 commit comments

Comments
 (0)