Commit 222b50f
authored
Resolve tests failures with elementwise functions towards numpy 2.0 (#2590)
The PR is follow of #2589 to address remaining issue observing on
Windows only.
There is data type mismatch in result returned for numpy.power,
numpy.floor_divide, numpy.fmod, and numpy.remainder for "numpy < 2.1.0".
They return int32, but expected int64.
Where dpnp behavior is aligned with "numpy >= 2.1.0".1 parent bea5156 commit 222b50f
File tree
3 files changed
+5
-1
lines changed- dpnp/tests
- third_party/cupy/math_tests
3 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1992 | 1992 | | |
1993 | 1993 | | |
1994 | 1994 | | |
| 1995 | + | |
1995 | 1996 | | |
1996 | 1997 | | |
1997 | 1998 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| |||
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| 413 | + | |
412 | 414 | | |
413 | 415 | | |
414 | 416 | | |
| |||
487 | 489 | | |
488 | 490 | | |
489 | 491 | | |
490 | | - | |
| 492 | + | |
491 | 493 | | |
492 | 494 | | |
493 | 495 | | |
| |||
0 commit comments