There was an error while loading. Please reload this page.
1 parent 830b2f9 commit 92b186fCopy full SHA for 92b186f
tests/GraphBLAS-sharp.Tests/Common/ClArray/Pairwise.fs
@@ -22,9 +22,10 @@ let makeTest<'a> isEqual testFun (array: 'a [] ) =
22
let clArray = context.CreateClArray array
23
24
testFun processor HostInterop clArray
25
- |> Option.bind (fun (clFirstActual: ClArray<_>, clSecondActual: ClArray<_>) ->
26
- let firstActual = clFirstActual.ToHostAndFree processor
27
- let secondActual = clSecondActual.ToHostAndFree processor
+ |> Option.bind (fun (actual: ClArray<_>) ->
+ let firstActual, secondActual =
+ actual.ToHostAndFree processor
28
+ |> Array.unzip
29
30
let firstExpected, secondExpected = Array.pairwise array |> Array.unzip
31
0 commit comments