From 0cbc66aaab74add1edfce539b8bdc59f7f41ff3a Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Mon, 21 Jan 2019 23:38:52 -0600 Subject: [PATCH] Address missing numpy types --- pymbolic/mapper/constant_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pymbolic/mapper/constant_converter.py b/pymbolic/mapper/constant_converter.py index cc7f94e..62e0a45 100644 --- a/pymbolic/mapper/constant_converter.py +++ b/pymbolic/mapper/constant_converter.py @@ -44,8 +44,8 @@ class ConstantToNumpyConversionMapper(pymbolic.mapper.IdentityMapper): complex_type = np.complex64 elif real_type is np.float64: complex_type = np.complex128 - elif real_type is np.float128: - complex_type = np.complex256 + elif real_type is np.float128: # pylint:disable=no-member + complex_type = np.complex256 # pylint:disable-no-member else: raise TypeError( "unable to determine corresponding complex type for '%s'" -- GitLab