diff --git a/pymbolic/mapper/constant_converter.py b/pymbolic/mapper/constant_converter.py index cc7f94eb9c4626a1a369f4e3d00292ab0055dce8..62e0a456ce18a4dcdf842c0f47912a12c8325717 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'"