Skip to content

Commit ad80e7b

Browse files
2 parents 04e645c + c6c9fd8 commit ad80e7b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ rem_layer!( multilayergraph,
806806
true
807807
```
808808

809-
Visit the [multilayer graph](@ref msm_eu) subsection of the APIs to discover more useful methods.
809+
Visit the [multilayer graph](@ref msm_eu) subsection of the edn-user APIs to discover more useful methods.
810810

811811
#### Weight/Adjacency Tensor, Metadata Tensor and Supra Weight/Adjacency Matrix
812812

src/tensorsfactorizations.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This script has been copy-pasted from https://github.com/mhauru/TensorFactorizations.jl
1+
#= # This script has been copy-pasted from https://github.com/mhauru/TensorFactorizations.jl
22
33
"""
44
tensorsplit(A, a, b; kwargs...)
@@ -42,7 +42,7 @@ function tensorsplit(args...; kwargs...)
4242
A1 = tensorcontract(U, (1:(ndims(U) - 1)..., :a), S_sqrt, (:a, :b))
4343
A2 = tensorcontract(S_sqrt, (:b, :a), Vt, (:a, 1:(ndims(Vt) - 1)...))
4444
return A1, A2, auxdata...
45-
end
45+
end =#
4646

4747
"""
4848
tensoreig(A, a, b; chis=nothing, eps=0,
@@ -120,7 +120,7 @@ function tensoreig(
120120
return retval
121121
end
122122

123-
"""
123+
#= """
124124
tensorsvd(A, a, b;
125125
chis=nothing, eps=0,
126126
return_error=false, print_error=false,
@@ -203,7 +203,7 @@ function tensorsvd(
203203
end
204204
return retval
205205
end
206-
206+
=#
207207
"""
208208
Format the bond dimensions listed in chis to a standard format.
209209
"""

test/abstractmultilayerugraph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ overlaygraph = MultilayerGraphs.get_overlay_monoplex_graph(multilayergraph)
145145
@test multilayer_weighted_global_clustering_coefficient(multilayergraph, [1 / 3, 1 / 3, 1 / 3]) .≈ multilayer_global_clustering_coefficient(multilayergraph)
146146
eig_centr_u, errs_u = eigenvector_centrality(multilayergraph; norm="n", tol=1e-3)
147147
modularity(multilayergraph, rand([1, 2, 3, 4], length(nodes(multilayergraph)), length(multilayergraph.layers)), )
148+
von_neumann_entropy(multilayergraph)
148149

149150
# get_graph_of_layers(multilayergraph)
150151

151152
wgt = weight_tensor(multilayergraph)
152153
sam = supra_weight_matrix(multilayergraph)
153154
for edge in collect(edges(multilayergraph.layer_swg))
154-
@debug "" src(edge) dst(edge) edge
155155
@test wgt[src(edge), dst(edge)] == wgt[ dst(edge), src(edge)] == MultilayerGraphs.weight(edge)
156156
@test sam[src(edge), dst(edge)] == sam[ dst(edge), src(edge)] == MultilayerGraphs.weight(edge)
157157
end

0 commit comments

Comments
 (0)