You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
276 B
12 lines
276 B
1 year ago
|
import numpy as np
|
||
|
|
||
|
# Technically this works, but probably shouldn't. See
|
||
|
#
|
||
|
# https://github.com/numpy/numpy/issues/16366
|
||
|
#
|
||
|
np.maximum_sctype(1) # E: No overload variant
|
||
|
|
||
|
np.issubsctype(1, np.int64) # E: incompatible type
|
||
|
|
||
|
np.issubdtype(1, np.int64) # E: incompatible type
|