We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c04fda commit 03455f3Copy full SHA for 03455f3
1 file changed
cubed/core/gufunc.py
@@ -51,6 +51,13 @@ def apply_gufunc(
51
"Multiple outputs are not yet supported, see https://github.com/cubed-dev/cubed/issues/69"
52
)
53
54
+ if (
55
+ nout is None
56
+ and isinstance(output_dtypes, (tuple, list))
57
+ and len(output_dtypes) == 1
58
+ ):
59
+ output_dtypes = output_dtypes[0]
60
+
61
# Vectorize function, if required
62
if vectorize:
63
otypes = output_dtypes
0 commit comments