Skip to content

Commit

Permalink
Merge pull request #377 from pyt-team/frantzen/scipy-fix
Browse files Browse the repository at this point in the history
Fix tests for scipy 1.14
  • Loading branch information
ffl096 authored Jun 27, 2024
2 parents a3097d0 + 93229bc commit ced2e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/classes/test_simplicial_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def test_hodge_laplacian_matrix_rank_2(self):
column, L_hodge = SC.hodge_laplacian_matrix(rank=2, signed=False, index=True)
expected_col = {(1, 2, 3): 0, (2, 3, 4): 1}
assert column == expected_col
np.testing.assert_array_equal(L_hodge.A, np.array([[3, 1], [1, 3]]))
np.testing.assert_array_equal(L_hodge.toarray(), np.array([[3, 1], [1, 3]]))

def test_hodge_laplacian_matrix_rank_1(self):
"""Test unsigned hodge_laplacian_matrix method with index for different ranks."""
Expand All @@ -453,7 +453,7 @@ def test_hodge_laplacian_matrix_rank_1(self):
}
assert column == expected_col
np.testing.assert_array_equal(
L_hodge.A,
L_hodge.toarray(),
np.array(
[
[2.0, 1.0, 1.0, 0.0, 0.0, 0.0],
Expand Down

0 comments on commit ced2e43

Please sign in to comment.