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 83f0bcd commit 9503db0Copy full SHA for 9503db0
array_api_tests/dtype_helpers.py
@@ -235,6 +235,7 @@ class MinMax(NamedTuple):
235
if not hasattr(xp, "asarray"):
236
default_int = xp.int32
237
default_float = xp.float32
238
+ default_complex = xp.complex64 if api_version > "2021.12" else None
239
warn(
240
"array module does not have attribute asarray. "
241
"default int is assumed int32, default float is assumed float32"
0 commit comments