Skip to content

Commit 595c187

Browse files
committed
refactor: StandartOperations
1 parent 251b611 commit 595c187

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/GraphBLAS-sharp.Backend/Common/StandardOperations.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ module StandardOperations =
132132

133133
let maskOp<'a, 'b when 'a: struct and 'b: struct> =
134134
<@ fun (left: 'a option) (right: 'b option) ->
135-
match left, right with
136-
| _, Some _ -> left
135+
match right with
136+
| Some _ -> left
137137
| _ -> None @>
138138

139139
let complementedMaskOp<'a, 'b when 'a: struct and 'b: struct> =
140140
<@ fun (left: 'a option) (right: 'b option) ->
141-
match left, right with
142-
| _, None -> left
141+
match right with
142+
| None -> left
143143
| _ -> None @>

0 commit comments

Comments
 (0)