Skip to content

Typing issue: cl_array.if_positive does not allow boolean parameters #905

Description

@kaushikcfd

cl_array.if_positive says all three arguments must be Array | ScalarLike. ScalarLike does not account for boolean scalars. This condition must be relaxed as numpy allows boolean scalar for all the three arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions