Skip to content

Commit c007f01

Browse files
committed
Remove changed return types
1 parent f1d7004 commit c007f01

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/CloudGraphsDFG/services/CloudGraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function updateFactor!(dfg::CloudGraphsDFG, factor::DFGFactor)::DFGFactor
304304
return factor
305305
end
306306

307-
function deleteVariable!(dfg::CloudGraphsDFG, label::Symbol)::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
307+
function deleteVariable!(dfg::CloudGraphsDFG, label::Symbol)#::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
308308
variable = getVariable(dfg, label)
309309
if variable == nothing
310310
error("Unable to retrieve the ID for variable '$label'. Please check your connection to the database and that the variable exists.")

src/GraphsDFG/services/GraphsDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function updateFactor!(dfg::GraphsDFG, factor::DFGFactor)::DFGFactor
165165
return factor
166166
end
167167

168-
function deleteVariable!(dfg::GraphsDFG, label::Symbol)::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
168+
function deleteVariable!(dfg::GraphsDFG, label::Symbol)#::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
169169
if !haskey(dfg.labelDict, label)
170170
error("Variable label '$(label)' does not exist in the factor graph")
171171
end

src/LightDFG/services/LightDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function updateFactor!(dfg::LightDFG, factor::F)::F where F <: AbstractDFGFactor
130130
return factor
131131
end
132132

133-
function deleteVariable!(dfg::LightDFG, label::Symbol)::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
133+
function deleteVariable!(dfg::LightDFG, label::Symbol)#::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
134134
if !haskey(dfg.g.variables, label)
135135
error("Variable label '$(label)' does not exist in the factor graph")
136136
end

src/services/AbstractDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ end
226226
$(SIGNATURES)
227227
Delete a DFGVariable from the DFG using its label.
228228
"""
229-
function deleteVariable!(dfg::AbstractDFG, label::Symbol)::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
229+
function deleteVariable!(dfg::AbstractDFG, label::Symbol)#::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
230230
error("deleteVariable! not implemented for $(typeof(dfg))")
231231
end
232232
"""
@@ -389,7 +389,7 @@ end
389389
$(SIGNATURES)
390390
Delete a referenced DFGVariable from the DFG.
391391
"""
392-
function deleteVariable!(dfg::AbstractDFG, variable::AbstractDFGVariable)::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
392+
function deleteVariable!(dfg::AbstractDFG, variable::AbstractDFGVariable)#::Tuple{AbstractDFGVariable, Vector{<:AbstractDFGFactor}}
393393
return deleteVariable!(dfg, variable.label)
394394
end
395395

0 commit comments

Comments
 (0)