Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielegrattarola committed Jun 1, 2023
1 parent eebde5b commit 2a51af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils/test_convolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from spektral.utils import convolution

g = nx.generators.erdos_renyi_graph(10, 0.2)
adj_sp = nx.adjacenct_matrix(g).astype("f")
adj_sp = nx.adjacency_matrix(g).astype("f")
adj = adj_sp.A.astype("f")
degree = np.diag([d[1] for d in nx.degree(g)])
tol = 1e-6
Expand Down

0 comments on commit 2a51af9

Please sign in to comment.