Skip to content

Commit a1f16da

Browse files
authored
Merge pull request #197 from JuliaRobotics/hotfix/4Q19/spelling
Update DFGVariable.jl
2 parents d5a5ced + 8536685 commit a1f16da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/entities/DFGVariable.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ struct SingletonInferenceVariable <: InferenceVariable end
44

55
"""
66
$(TYPEDEF)
7+
8+
Main data container for Level2 data -- see developer wiki.
79
"""
810
mutable struct VariableNodeData{T<:InferenceVariable}
911
val::Array{Float64,2}
@@ -29,7 +31,7 @@ VariableNodeData(val::Array{Float64,2},bw::Array{Float64,2},BayesNetOutVertIDs::
2931

3032
function VariableNodeData()
3133
st = stacktrace()
32-
@warn "VariableNodeData() is depreciated please use VariableNodeData{T}() or VariableNodeData(softtype::T) where T <: InferenceVariable. Enable DEBUG logging for stack trace."
34+
@warn "VariableNodeData() is deprecated please use VariableNodeData{T}() or VariableNodeData(softtype::T) where T <: InferenceVariable. Enable DEBUG logging for stack trace."
3335
@debug st
3436
VariableNodeData{InferenceVariable}(zeros(1,1), zeros(1,1), Symbol[], Int[], 0, false, :NOTHING, Symbol[], SingletonInferenceVariable(), false, 0.0, false, false)
3537
end

0 commit comments

Comments
 (0)