Skip to content

Commit

Permalink
bool_ typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Sep 20, 2024
1 parent 51c64ad commit aef4901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/process/phase/singleslice_ptychography.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def reconstruct(
detector_fourier_mask = xp.asarray(detector_fourier_mask)

if virtual_detector_masks is not None:
virtual_detector_masks = xp.asarray(virtual_detector_masks).astype(xp._bool)
virtual_detector_masks = xp.asarray(virtual_detector_masks).astype(xp.bool_)

# main loop
for a0 in tqdmnd(
Expand Down

0 comments on commit aef4901

Please sign in to comment.