Skip to content

Commit

Permalink
such a silly but killer error
Browse files Browse the repository at this point in the history
  • Loading branch information
smribet committed Sep 30, 2024
1 parent 1ccf74a commit 74fc606
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py4DSTEM/tomography/tomography.py
Original file line number Diff line number Diff line change
Expand Up @@ -1257,10 +1257,10 @@ def _calculate_update(
positions_y = xp.clip(
xp.hstack(
[
self._positions_vox[datacube_number][1][ind0],
self._positions_vox[datacube_number][1][ind0] + 1,
self._positions_vox[datacube_number][1][ind1],
self._positions_vox[datacube_number][1][ind1] + 1,
self._positions_vox_F[datacube_number][1][ind0],
self._positions_vox_F[datacube_number][1][ind0] + 1,
self._positions_vox_F[datacube_number][1][ind1],
self._positions_vox_F[datacube_number][1][ind1] + 1,
],
),
0,
Expand Down

0 comments on commit 74fc606

Please sign in to comment.