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

Number of nodes in graph class needs "self." #11

Open
jimgoo opened this issue Sep 17, 2015 · 0 comments
Open

Number of nodes in graph class needs "self." #11

jimgoo opened this issue Sep 17, 2015 · 0 comments

Comments

@jimgoo
Copy link

jimgoo commented Sep 17, 2015

See line 126 of graph.py:

def number_of_nodes(self):
    "Returns the number of nodes in the graph"
    return order()

should be

def number_of_nodes(self):
    "Returns the number of nodes in the graph"
    return self.order()

Cool project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant