Skip to content

Commit ad85a8f

Browse files
committed
fix hang on _handlemask!
1 parent 800c44c commit ad85a8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/operations/operationutils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ function _handlemask!(desc, mask)
4949
elseif mask isa Structural
5050
mask = parent(mask)
5151
desc.structural_mask = true
52+
elseif mask == C_NULL
53+
return C_NULL
5254
end
5355
end
5456
return mask

0 commit comments

Comments
 (0)