Skip to content

Commit 441a2f9

Browse files
committed
fix: spgemm maxAllocSize calculation
1 parent e187916 commit 441a2f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GraphBLAS-sharp.Backend/Operations/Operations.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ module Operations =
306306
(clContext.MaxMemAllocSize / allocCapacity) / 3UL
307307

308308
let resultCapacity =
309-
(max
309+
(min
310310
<| uint64 System.Int32.MaxValue
311311
<| resultCapacity)
312312
|> int

0 commit comments

Comments
 (0)