Skip to content

Commit 75ab42d

Browse files
committed
Merge branch 'master' of https://github.com/JuliaRobotics/DistributedFactorGraphs.jl into feature/moving_isSolveInProgress
2 parents f3920a3 + d3c1a43 commit 75ab42d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/DistributedFactorGraphs.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ using Reexport
99
using JSON2
1010
using LinearAlgebra
1111
using SparseArrays
12-
# This is used in the definition of getAdjacencyMatrixSparse
13-
using LightGraphs
1412

1513
# Entities
1614
include("entities/AbstractDFG.jl")

src/services/AbstractDFG.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ end
503503
Get an adjacency matrix for the DFG, returned as a tuple: adjmat::SparseMatrixCSC{Int}, var_labels::Vector{Symbol) fac_labels::Vector{Symbol).
504504
Rows are the factors, columns are the variables, with the corresponding labels in fac_labels,var_labels.
505505
"""
506-
function getAdjacencyMatrixSparse(dfg::G; solvable::Int=0)::Tuple{LightGraphs.SparseMatrixCSC, Vector{Symbol}, Vector{Symbol}} where G <: AbstractDFG
506+
function getAdjacencyMatrixSparse(dfg::G; solvable::Int=0)::Tuple{SparseMatrixCSC, Vector{Symbol}, Vector{Symbol}} where G <: AbstractDFG
507507
varLabels = map(v->v.label, getVariables(dfg, solvable=solvable))
508508
factLabels = map(f->f.label, getFactors(dfg, solvable=solvable))
509509

0 commit comments

Comments
 (0)