diff --git a/uproot4/interpretation/objects.py b/uproot4/interpretation/objects.py index b618b6577..8bc72e9d2 100644 --- a/uproot4/interpretation/objects.py +++ b/uproot4/interpretation/objects.py @@ -215,6 +215,7 @@ def final_array( output[global_i - entry_start] = basket_array[local_i] elif entry_start < stop and start <= entry_stop: + basket_array = basket_arrays[basket_num] for global_i in range(start, stop): local_i = global_i - start output[global_i - entry_start] = basket_array[local_i]