File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/CloudGraphsDFG/services Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -789,11 +789,11 @@ end
789
789
790
790
function getAdjacencyMatrixSparse (dfg:: CloudGraphsDFG ):: Tuple{SparseMatrixCSC, Vector{Symbol}, Vector{Symbol}}
791
791
varLabels = getVariableIds (dfg)
792
- factLabels = sort ( getFactorIds (dfg) )
793
- vDict = Dict (varLabels .=> [1 : length (varLabels)... ]. + 1 )
794
- fDict = Dict (factLabels .=> [1 : length (factLabels)... ]. + 1 )
792
+ factLabels = getFactorIds (dfg)
793
+ vDict = Dict (varLabels .=> [1 : length (varLabels)... ])
794
+ fDict = Dict (factLabels .=> [1 : length (factLabels)... ])
795
795
796
- adjMat = spzeros (Int, length (factLabels)+ 1 , length (varLabels)+ 1 )
796
+ adjMat = spzeros (Int, length (factLabels), length (varLabels))
797
797
798
798
# Now ask for all relationships for this session graph
799
799
loadtx = transaction (dfg. neo4jInstance. connection)
You can’t perform that action at this time.
0 commit comments