Skip to content

int != int32 #417

@IvanGrigorik

Description

@IvanGrigorik

During the cupy / numpy / pk.array usage, the developer should specify the int to int32 instead of just int, because it may cause issues.

# Incorrect
color_xp        = xp.zeros(N, dtype=xp.int)

# Correct
color_xp        = xp.zeros(N, dtype=xp.int32)

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