Skip to content

Commit e036368

Browse files
committed
phase imaging tests now passing.
1 parent 5ca7438 commit e036368

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

autoarray/mask/mask.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def __new__(
3434
"""
3535
# noinspection PyArgumentList
3636

37+
mask_2d = mask_2d.astype('bool')
3738
obj = mask_2d.view(cls)
3839
obj.sub_size = sub_size
3940
obj.sub_length = int(sub_size ** 2.0)

0 commit comments

Comments
 (0)