Fix deprecated typeDict
@@ -42,7 +42,7 @@ def _get_output(output, input, shape=None, complex_output=False):
output = cupy.promote_types(output, cupy.complex64)
output = cupy.zeros(shape, dtype=output)
elif isinstance(output, str):
- output = numpy.typeDict[output]
+ output = numpy.sctypeDict[output]
if complex_output and cupy.dtype(output).kind != 'c':
raise RuntimeError("output must have complex dtype")
output = cupy.zeros(shape, dtype=output)
