Skip to content
Snippets Groups Projects
Commit 86292def authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix another bare-numpy-type escape

parent 3e188fa7
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ class TypeInferenceMapper(CombineMapper):
# (COMPLEX_GUESS_LOGIC)
# No precision is lost by 'guessing' single precision, use that.
# This at least covers simple cases like '1j'.
return np.dtype(np.complex64)
return NumpyType(np.dtype(np.complex64))
# Codegen for complex types depends on exactly correct types.
# Refuse temptation to guess.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment