Skip to content

Commit 35d66bc

Browse files
committed
run formatter
1 parent 9e5f6b4 commit 35d66bc

File tree

6 files changed

+9
-18
lines changed

6 files changed

+9
-18
lines changed

src/DataBlobs/services/BlobStores.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,4 +462,4 @@ if false
462462

463463
Tables.rowtable(sstore)
464464
end
465-
##
465+
##

src/Deprecated.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
## ================================================================================
33
## Deprecated in v0.24
44
##=================================================================================
5-
@deprecate getBlobEntry(var::AbstractDFGVariable, key::AbstractString) getBlobEntryFirst(var, Regex(key))
5+
@deprecate getBlobEntry(var::AbstractDFGVariable, key::AbstractString) getBlobEntryFirst(
6+
var,
7+
Regex(key),
8+
)
69

710
@deprecate lsfWho(dfg::AbstractDFG, type::Symbol) lsf(dfg, getfield(Main, type))
811

@@ -46,4 +49,4 @@
4649
nothing,
4750
_type,
4851
_version,
49-
)
52+
)

src/GraphsDFG/services/GraphsDFG.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,7 @@ function deleteVariable!(dfg::GraphsDFG, label::Symbol)#::Tuple{AbstractDFGVaria
182182
return variable, neigfacs
183183
end
184184

185-
function deleteFactor!(
186-
dfg::GraphsDFG,
187-
label::Symbol;
188-
suppressGetFactor::Bool = false,
189-
)
185+
function deleteFactor!(dfg::GraphsDFG, label::Symbol; suppressGetFactor::Bool = false)
190186
if !haskey(dfg.g.factors, label)
191187
error("Factor label '$(label)' does not exist in the factor graph")
192188
end

src/services/AbstractDFG.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,7 @@ function ls(dfg::G, label::Symbol; solvable::Int = 0) where {G <: AbstractDFG}
750750
return listNeighbors(dfg, label; solvable = solvable)
751751
end
752752

753-
function lsf(
754-
dfg::G,
755-
label::Symbol;
756-
solvable::Int = 0,
757-
) where {G <: AbstractDFG}
753+
function lsf(dfg::G, label::Symbol; solvable::Int = 0) where {G <: AbstractDFG}
758754
return listNeighbors(dfg, label; solvable = solvable)
759755
end
760756

src/services/CommonAccessors.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,7 @@ Related
155155
156156
isSolvable
157157
"""
158-
function getSolveInProgress(
159-
var::Union{DFGVariable, DFGFactor},
160-
solveKey::Symbol = :default,
161-
)
158+
function getSolveInProgress(var::Union{DFGVariable, DFGFactor}, solveKey::Symbol = :default)
162159
# Variable
163160
if var isa DFGVariable
164161
if haskey(getSolverDataDict(var), solveKey)

src/services/DFGVariable.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ macro defVariable(structname, manifold, point_identity)
106106
DFG.getPointType(::Type{$structname}) = typeof($point_identity)
107107

108108
DFG.getPointIdentity(::Type{$structname}) = $point_identity
109-
110109
end,
111110
)
112111
end

0 commit comments

Comments
 (0)