We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca7438 commit e036368Copy full SHA for e036368
1 file changed
autoarray/mask/mask.py
@@ -34,6 +34,7 @@ def __new__(
34
"""
35
# noinspection PyArgumentList
36
37
+ mask_2d = mask_2d.astype('bool')
38
obj = mask_2d.view(cls)
39
obj.sub_size = sub_size
40
obj.sub_length = int(sub_size ** 2.0)
0 commit comments