Skip to content

Commit

Permalink
Fix test_convolution.py and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danielegrattarola committed Jun 1, 2023
1 parent 197adfd commit eebde5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, 3.9, 3.10]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
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.adj_matrix(g).astype("f")
adj_sp = nx.adjacenct_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 eebde5b

Please sign in to comment.