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

Fix reduction out_dtype argument processing.

parent ab7a4627
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,7 @@ class ReductionKernel:
neutral, reduce_expr, map_expr=None, arguments=None,
name="reduce_kernel", options="", preamble=""):
self.dtype_out = dtype_out
dtype_out = self.dtype_out = np.dtype(dtype_out)
self.stage_1_inf = get_reduction_kernel(ctx,
dtype_to_ctype(dtype_out), dtype_out.itemsize,
......
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