We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3e15c commit 05c8923Copy full SHA for 05c8923
dpctl/tensor/_print.py
@@ -482,7 +482,7 @@ def usm_ndarray_repr(
482
483
options = get_print_options()
484
threshold = options["threshold"]
485
- if x.size == 0 and x.shape != (0,) or x.size > threshold:
+ if (x.size == 0 and x.shape != (0,)) or x.size > threshold:
486
shape_str = f"shape={x.shape}"
487
shape_str = _move_to_next_line(shape_str, s, line_width, prefix)
488
else:
0 commit comments