inducer / inducer/pyopencl

Typing issue: cl_array.if_positive does not allow boolean parameters

Open
#905 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.2k
Forks
247
Avg merge
7h 2m
Merged PRs (30d)
6

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.