Skip to content

Commit 6fbf71d

Browse files
committed
refactor: formatting
1 parent 2dcc09b commit 6fbf71d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ module Vector =
3131
let scatter =
3232
Scatter.runInplace clContext workGroupSize
3333

34-
let zeroCreate = ClArray.zeroCreate clContext workGroupSize flag
34+
let zeroCreate =
35+
ClArray.zeroCreate clContext workGroupSize flag
3536

3637
let map =
3738
ClArray.map clContext workGroupSize GPUOnly <@ Some @>
@@ -51,10 +52,7 @@ module Vector =
5152
Size = size }
5253
|> ClVector.Sparse
5354
| Dense ->
54-
let indices, values =
55-
elements
56-
|> Array.ofList
57-
|> Array.unzip
55+
let indices, values = elements |> Array.ofList |> Array.unzip
5856

5957
let values =
6058
clContext.CreateClArrayWithFlag(GPUOnly, values)

0 commit comments

Comments
 (0)