Skip to content

Commit 72a6c5a

Browse files
committed
build: pass locally
1 parent 595c187 commit 72a6c5a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

tests/GraphBLAS-sharp.Tests/BackendCommonTests/ReduceTests.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ let tests =
7171
let q = Context.defaultContext.Queue
7272
q.Error.Add(fun e -> failwithf "%A" e)
7373

74-
let filterFloats =
75-
Array.filter (System.Double.IsNaN >> not)
74+
let filterFloats = Array.filter System.Double.IsNormal
7675

7776
[ testFixtures config wgSize q (+) <@ (+) @> 0 id "int add"
7877
testFixtures config wgSize q (+) <@ (+) @> 0uy id "byte add"

tests/GraphBLAS-sharp.Tests/Vector/Reduce.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ let testFixtures (case: OperationCase<VectorFormat>) =
7272

7373
q.Error.Add(fun e -> failwithf "%A" e)
7474

75-
let filterFloats =
76-
Array.filter (System.Double.IsNaN >> not)
75+
let filterFloats = Array.filter System.Double.IsNormal
7776

7877
[ let intReduce = Vector.reduce context wgSize
7978

0 commit comments

Comments
 (0)