Skip to content

Commit

Permalink
fix : minor edit in erdos_reyni_gilbert_test.py related to numpy2
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Aug 4, 2024
1 parent c5eab67 commit 03c0778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/engines/erdos_reyni_gilbert_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@
>>> engine.gen_using(mtx_maker, 'testfile', {'vertices':10, 'probability':0.1, 'direct':0})
5
>>> g = mmread("testfile.mtx")
>>> print(list(g.data))
>>> print(g.data.tolist())
[1.0, 1.0, 1.0, 1.0, 1.0]
>>> random.seed(4)
>>> engine.gen_using(mtx_maker, 'testfile2', {'vertices':10, 'probability':0.1, 'direct':1})
8
>>> g = mmread("testfile2.mtx")
>>> print(list(g.data))
>>> print(g.data.tolist())
[1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
>>> #################### tsv_maker ####################
>>> random.seed(2)
Expand Down

0 comments on commit 03c0778

Please sign in to comment.