Skip to content

partite.py always evaluates as True #44

@RyanRogers9759

Description

@RyanRogers9759

TL;DR: Easy fix. Remove "continue" on line 41.

Issue: is_partite function does not traverse the entire graph. This is because the "continue" on line 41 causes the "if" statement on the next line to be skipped entirely. This means that the queue (i.e. q) is never appended.

I commented out the "continue" and the function works perfectly now.

Please review and implement upon confirmation.

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