diff --git a/Python/pywarpx/fields.py b/Python/pywarpx/fields.py index 417991e0567..cc70ec94532 100644 --- a/Python/pywarpx/fields.py +++ b/Python/pywarpx/fields.py @@ -375,7 +375,6 @@ def _get_intersect_slice( box_big_end[i] += nghosts[i] boxlo = self._get_indices(box.small_end, 0) - boxhi = self._get_indices(box.big_end, 0) ilo = self._get_indices(box_small_end, 0) ihi = self._get_indices(box_big_end, 0)