Skip to content

An assertion in the method compute_perm is not doing what it should do #42

@nbro

Description

@nbro

At the following line, https://github.com/mdeff/cnn_graph/blob/master/lib/coarsening.py#L210, you have the assertion assert len(indices[0] == M), but this is always true, because indices[0] is not empty and indices[0] == M produces another list of the same size as indices[0], so len(indices[0] == M) is always greater than zero.

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