Skip to content

Commit

Permalink
fix deprecated scalar array to int conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Jun 20, 2023
1 parent cfe4a2c commit d48fcdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boxtree/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def filter_target_lists_in_tree_order(self, queue, tree, flags):
nfiltered_targets,
queue=queue)

nfiltered_targets = int(nfiltered_targets.get())
nfiltered_targets = int(nfiltered_targets.get().item())

unfiltered_from_filtered_target_indices = \
unfiltered_from_filtered_target_indices[:nfiltered_targets]
Expand Down

0 comments on commit d48fcdf

Please sign in to comment.