Use complexfloating instead of complex to suppress NumPy warning.

Fixes #255.
This commit is contained in:
Peter Hawkins 2019-01-17 13:41:40 -05:00
parent e062127d1e
commit 62d946123c

View File

@ -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_}