Skip to content

Example graph does not work.  #4

@ashea2nd

Description

@ashea2nd

Error returned is when I try to follow the example.

Traceback (most recent call last):
File "cmty.py", line 122, in
sys.exit(main(sys.argv))
File "cmty.py", line 116, in main
Orig_deg = UpdateDeg(A, G.nodes())
File "cmty.py", line 64, in UpdateDeg
n = len(nodes) #len(A) ---> some ppl get issues when trying len() on sparse matrixes!
TypeError: object of type 'generator' has no len()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions