Skip to content

Commit 647d19d

Browse files
committed
refactor: Search.Bin.byKey2D
1 parent 9102d0f commit 647d19d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GraphBLAS-sharp.Backend/Matrix/COOMatrix/Map2.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ module internal Map2 =
2727
(uint64 rowIndex <<< 32) ||| (uint64 columnIndex)
2828

2929
let leftValue =
30-
(%Search.Bin.byKey2) leftValuesLength index leftRows leftColumns leftValues
30+
(%Search.Bin.byKey2D) leftValuesLength index leftRows leftColumns leftValues
3131

3232
let rightValue =
33-
(%Search.Bin.byKey2) rightValuesLength index rightRows rightColumn rightValues
33+
(%Search.Bin.byKey2D) rightValuesLength index rightRows rightColumn rightValues
3434

3535
match (%op) leftValue rightValue with
3636
| Some value ->

src/GraphBLAS-sharp.Backend/Quotes/Search.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module Search =
3535
/// Searches value in array by two keys.
3636
/// In case there is a value at the given keys position, it is returned.
3737
/// </summary>
38-
let byKey2<'a> =
38+
let byKey2D<'a> =
3939
<@ fun lenght sourceIndex (rowIndices: ClArray<int>) (columnIndices: ClArray<int>) (values: ClArray<'a>) ->
4040

4141
let mutable leftEdge = 0

0 commit comments

Comments
 (0)