Skip to content

Commit

Permalink
removed useless assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Coerulatus committed Mar 7, 2025
1 parent ee8e160 commit 2eb640a
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,6 @@ def test_lift_topology(self):

expected_n_hyperedges = self.data.num_nodes

expected_incidence_1 = torch.tensor(
[
[1., 1., 1., 0., 0., 0., 0., 0.],
[1., 1., 1., 0., 0., 0., 0., 0.],
[1., 1., 1., 0., 0., 0., 0., 0.],
[0., 1., 1., 1., 0., 0., 0., 0.],
[0., 0., 1., 1., 1., 0., 0., 0.],
[0., 0., 0., 1., 1., 1., 0., 0.],
[0., 0., 0., 0., 1., 1., 1., 0.],
[0., 0., 0., 0., 0., 1., 1., 1.]
]
)

assert (
expected_incidence_1 == lifted_data["incidence_hyperedges"].to_dense()
).all(), "Something is wrong with incidence_hyperedges."
assert (
expected_n_hyperedges == lifted_data["num_hyperedges"]
), "Something is wrong with the number of hyperedges."
Expand Down

0 comments on commit 2eb640a

Please sign in to comment.