Skip to content

Commit f585ea2

Browse files
committed
Corrected range
1 parent 6520f6b commit f585ea2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GraphBLAS-sharp/Implementations.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ and COOMatrix<'a when 'a : struct and 'a : equality>(rowCount: int, columnCount:
136136

137137
new (rowCount: int, columnCount: int, rows: int[], columns: int[], values: 'a[]) =
138138
let indices =
139-
[| for i in 0 .. rows.Length do
139+
[| for i in 0 .. rows.Length - 1 do
140140
yield (uint64 rows.[i]) <<< 32 ||| (uint64 columns.[i]) |]
141141
COOMatrix(rowCount, columnCount, indices, values)
142142

0 commit comments

Comments
 (0)