Skip to content

In smallworld.py: ZeroDivisionError when passing a graph without edges #6150

@paulitapb

Description

@paulitapb

This is a similar error to #6144 that comes from the use of nx.utils.cumulative_distribution with graphs without edges. In #6144 there is a deeper explanation of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions