mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Use complexfloating instead of complex to suppress NumPy warning.
Fixes #255.
This commit is contained in:
parent
e062127d1e
commit
62d946123c
@ -831,7 +831,7 @@ def _brcast_to(x, shape):
|
||||
|
||||
_f32 = {onp.float32}
|
||||
_float = {onp.floating}
|
||||
_complex = {onp.complex}
|
||||
_complex = {onp.complexfloating}
|
||||
_complex_elem_types = {onp.float32, onp.float64}
|
||||
_int = {onp.integer}
|
||||
_bool = {onp.bool_}
|
||||
|
Loading…
x
Reference in New Issue
Block a user