Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug where add_loops assumes that edges are enumerated integers #1189

Merged
merged 2 commits into from
Aug 14, 2018

Conversation

marcharper
Copy link
Member

No description provided.

@marcharper marcharper added the bug label Aug 14, 2018
@drvinceknight
Copy link
Member

Looks like another test has fallen over:

FAIL: test_init (axelrod.tests.unit.test_moran.TestMoranProcess)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/Axelrod-Python/Axelrod/axelrod/tests/unit/test_moran.py", line 50, in test_init
    [(0, 1), (2, 0), (1, 2), (0, 0), (1, 1), (2, 2)])
AssertionError: Lists differ: [(0, 1), (2, 0), (1, 2), (0, 0), (2, 2), (1, 1)] != [(0, 1), (2, 0), (1, 2), (0, 0), (1, 1), (2, 2)]
First differing element 4:
(2, 2)
(1, 1)
- [(0, 1), (2, 0), (1, 2), (0, 0), (2, 2), (1, 1)]
?                                        --------
+ [(0, 1), (2, 0), (1, 2), (0, 0), (1, 1), (2, 2)]
?                                  ++++++++

@drvinceknight
Copy link
Member

Merging as it's a bug.

@drvinceknight drvinceknight merged commit 4fb14c8 into master Aug 14, 2018
@marcharper marcharper deleted the graph_fix branch August 17, 2018 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants