Skip to content

Commit 6520f6b

Browse files
committed
Minor syntax changes
1 parent 4293022 commit 6520f6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/GraphBLAS-sharp/Implementations.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ and COOMatrix<'a when 'a : struct and 'a : equality>(rowCount: int, columnCount:
137137
new (rowCount: int, columnCount: int, rows: int[], columns: int[], values: 'a[]) =
138138
let indices =
139139
[| for i in 0 .. rows.Length do
140-
yield (uint64)rows.[i] <<< 32 ||| (uint64)columns.[i] |]
140+
yield (uint64 rows.[i]) <<< 32 ||| (uint64 columns.[i]) |]
141141
COOMatrix(rowCount, columnCount, indices, values)
142142

143143
override this.Clear () = failwith "Not Implemented"
@@ -159,8 +159,8 @@ and COOMatrix<'a when 'a : struct and 'a : equality>(rowCount: int, columnCount:
159159
let i = ndRange.GlobalID0
160160
if i < indicesLength then
161161
let doubleIndex = indicesBuffer.[i]
162-
rowsBuffer.[i] <- (int)(doubleIndex >>> 32)
163-
columnsBuffer.[i] <- (int)doubleIndex
162+
rowsBuffer.[i] <- (int doubleIndex) >>> 32
163+
columnsBuffer.[i] <- int doubleIndex
164164
@>
165165

166166
let rows = Array.zeroCreate indicesLength

0 commit comments

Comments
 (0)