Skip to content

Commit 10302da

Browse files
committed
refactor: kronecker
1 parent 2a40ca3 commit 10302da

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/GraphBLAS-sharp.Backend/Matrix/CSR/Kronecker.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module internal Kronecker =
3030
| Some _ -> resultBitmap.[0] <- newItem
3131
| _ -> ()
3232

33-
else if (gid - 1) < valuesLength then
33+
elif (gid - 1) < valuesLength then
3434

3535
let item = resultBitmap.[gid]
3636
let newItem = item + 1

src/GraphBLAS-sharp.Backend/Vector/Sparse/Map.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ module Map =
8686

8787
let create = create clContext workGroupSize
8888

89-
let init =
90-
init <@ fun x -> x @> clContext workGroupSize
89+
let init = init <@ id @> clContext workGroupSize
9190

9291
fun (queue: MailboxProcessor<_>) allocationMode (value: 'a option) size ->
9392
function

0 commit comments

Comments
 (0)