Closed majosm closed 2 years ago
Could you start a PR with a failing regression test to save me time?
Could you start a PR with a failing regression test to save me time?
https://github.com/inducer/pyopencl/pull/584
minimum
/maximum
also appear to have some nan
-handling issues.
Describe the bug Array reductions such as
min
andmax
produce unexpected results whennan
s are present in the input array.To Reproduce
Output:
Expected behavior Ideally these should both return
cl.Array(nan)
?Environment (please complete the following information):