Skip to content

Commit 625ca10

Browse files
authored
don't force return types, esp non-concrete type
1 parent 5069847 commit 625ca10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CloudGraphsDFG/services/CloudGraphsDFG.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ end
360360
#Alias
361361
deleteVariable!(dfg::CloudGraphsDFG, variable::DFGVariable) = deleteVariable!(dfg, variable.label)
362362

363-
function deleteFactor!(dfg::CloudGraphsDFG, label::Symbol; suppressGetFactor::Bool=false)::Union{Nothing, DFGFactor}
363+
function deleteFactor!(dfg::CloudGraphsDFG, label::Symbol; suppressGetFactor::Bool=false)
364364
factor = suppressGetFactor ? nothing : getFactor(dfg, label)
365365
if factor === nothing && !suppressGetFactor
366366
error("Unable to retrieve the ID for factor '$label'. Please check your connection to the database and that the factor exists.")
@@ -980,4 +980,4 @@ function SkeletonDFG(cfg::CloudGraphsDFG)
980980
addVariable!.(sfg, _getSkeletonVariables(cfg))
981981
addFactor!.(sfg, _getSkeletonFactors(cfg))
982982
return sfg
983-
end
983+
end

0 commit comments

Comments
 (0)