Commits

Matthew Turk  committed c23cb26

Adding a cast to int32 for the grid_levels array inside
get_box_grids_below_level.

  • Participants
  • Parent commits 52d4759
  • Branches stable

Comments (0)

Files changed (1)

File yt/data_objects/object_finding_mixin.py

         get_box_grids_below_level(left_edge, right_edge,
                             level,
                             self.grid_left_edge, self.grid_right_edge,
-                            self.grid_levels, mask)
+                            self.grid_levels.astype("int32"), mask)
         mask = mask.astype("bool")
         return self.grids[mask], na.where(mask)