Skip to content

get_class_ind error in Python 3.6 #6

@liuyuyuil

Description

@liuyuyuil

In python 3.6, the get_class_ind function (c / self.k) in magnet_tools.py may return float not integer value, which leads the following sq_dists[...]=np.inf invalid.

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