We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833e6d9 commit 1990ffaCopy full SHA for 1990ffa
pytato/array.py
@@ -2427,7 +2427,7 @@ def maximum(x1: ArrayOrScalar, x2: ArrayOrScalar) -> ArrayOrScalar:
2427
from pytato.cmath import isnan
2428
return where(logical_or(isnan(x1), isnan(x2)),
2429
# I don't know why pylint thinks common_dtype is a tuple.
2430
- common_dtype.type(np.NaN), # pylint: disable=no-member
+ common_dtype.type(np.nan), # pylint: disable=no-member
2431
where(greater(x1, x2), x1, x2))
2432
else:
2433
return where(greater(x1, x2), x1, x2)
@@ -2446,7 +2446,7 @@ def minimum(x1: ArrayOrScalar, x2: ArrayOrScalar) -> ArrayOrScalar:
2446
2447
2448
2449
2450
where(less(x1, x2), x1, x2))
2451
2452
return where(less(x1, x2), x1, x2)
0 commit comments