Skip to content

Commit

Permalink
Add mandatory guess flag
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 18, 2024
1 parent e8c825f commit 4cc3947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blosc2/ndarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ def __getitem__(
if isinstance(key, str):
if self.dtype.fields is None:
raise ValueError("The array is not structured (its dtype does not have fields)")
expr = blosc2.LazyExpr._new_expr(key, self.fields)
expr = blosc2.LazyExpr._new_expr(key, self.fields, guess=False)
return expr.where(self)
key_, mask = process_key(key, self.shape)
start, stop, step = get_ndarray_start_stop(self.ndim, key_, self.shape)
Expand Down

0 comments on commit 4cc3947

Please sign in to comment.