Skip to content

Commit a957e78

Browse files
committed
format
1 parent 65a6582 commit a957e78

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/DataBlobs/services/BlobEntry.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function getfirstBlobentry(
7979
labelFilter::Union{Nothing, Function} = nothing,
8080
blobIdFilter::Union{Nothing, Function} = nothing,
8181
sortby::Function = getLabel,
82-
sortlt::Function = natural_lt
82+
sortlt::Function = natural_lt,
8383
)
8484
entries = getBlobentries(v; labelFilter, blobIdFilter)
8585
if isempty(entries)

src/GraphsDFG/services/GraphsDFG.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function mergeVariable!(dfg::GraphsDFG, variable::AbstractGraphVariable)
9292
end
9393

9494
function DFG.mergeVariables!(dfg::GraphsDFG, variables)
95-
cnts = map(v->mergeVariable!(dfg, v), variables)
95+
cnts = map(v -> mergeVariable!(dfg, v), variables)
9696
return sum(cnts)
9797
end
9898

@@ -113,7 +113,7 @@ function mergeFactor!(dfg::GraphsDFG, factor::AbstractGraphFactor)
113113
end
114114

115115
function DFG.mergeFactors!(dfg::GraphsDFG, factors)
116-
cnts = map(f->mergeFactor!(dfg, f), factors)
116+
cnts = map(f -> mergeFactor!(dfg, f), factors)
117117
return sum(cnts)
118118
end
119119

@@ -619,7 +619,10 @@ function DFG.getAgentBlobentry(fg::GraphsDFG, label::Symbol)
619619
return fg.agent.blobEntries[label]
620620
end
621621

622-
function DFG.getAgentBlobentries(fg::GraphsDFG; labelFilter::Union{Nothing, Function} = nothing)
622+
function DFG.getAgentBlobentries(
623+
fg::GraphsDFG;
624+
labelFilter::Union{Nothing, Function} = nothing,
625+
)
623626
entries = collect(values(fg.agent.blobEntries))
624627
filterDFG!(entries, labelFilter, getLabel)
625628
return entries

0 commit comments

Comments
 (0)