Skip to content

int integers are allowed but not properly cast #36

@nanthony21

Description

@nanthony21

If the user passes an array of ints into nlp.create then the c extension will improperly interpret this data as floats without giving any indication of an error. For example numpy.array([1,1,1,1]) become {0.0,0.0,0.0,0.0} and numpy.array([-1,-1,-1,-1]) become {-inf,-inf,-inf,-inf}

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