Skip to content

Commit b86994e

Browse files
committed
Miniexpr can handle padding evals in the first dimension now
1 parent f285872 commit b86994e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blosc2/lazyexpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ def fast_eval( # noqa: C901
12941294

12951295
if use_miniexpr:
12961296
# Avoid padding issues except for 1D arrays (contiguous along the only axis).
1297-
if len(shape) != 1 and builtins.any(s % c != 0 for s, c in zip(shape, chunks, strict=True)):
1297+
if len(shape) != 1 and builtins.any(s % c != 0 for s, c in zip(shape[1:], chunks[1:], strict=True)):
12981298
use_miniexpr = False
12991299
for op in operands.values():
13001300
# Only NDArray in-memory operands

0 commit comments

Comments
 (0)