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 3be7455 commit 4f5a969Copy full SHA for 4f5a969
src/blosc2/lazyexpr.py
@@ -1294,6 +1294,9 @@ def fast_eval( # noqa: C901
1294
1295
if use_miniexpr:
1296
op_dtypes = {op.dtype for op in operands.values() if isinstance(op, blosc2.NDArray)}
1297
+ # This is for avoiding type casting issues in miniexpr, like in:
1298
+ # tests/ndarray/test_lazyexpr_fields.py::test_where_fusion6[dtype_fixture0-shape_fixture0-chunks_blocks_fixture0]
1299
+ # TODO: remove this restriction when miniexpr supports type casting better
1300
if len(op_dtypes) > 1:
1301
use_miniexpr = False
1302
# Avoid padding issues except for 1D arrays (contiguous along the only axis).
0 commit comments