Skip to content

Commit 2e67430

Browse files
committed
handle any pointer
1 parent ad85a8f commit 2e67430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operations/operationutils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function _handlemask!(desc, mask)
4949
elseif mask isa Structural
5050
mask = parent(mask)
5151
desc.structural_mask = true
52-
elseif mask == C_NULL
52+
elseif mask isa Ptr
5353
return C_NULL
5454
end
5555
end

0 commit comments

Comments
 (0)