Skip to content

Commit

Permalink
fix single ErfInv
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLloyd committed Sep 22, 2024
1 parent b289288 commit 33c7c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SingleMatrixTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ let functions2 = test "functions2" {

testUnary "Erf" (double >> erf >> single) Matrix.Erf
testUnary "Erfc" (double >> erfc >> single) Matrix.Erfc
testUnary "ErfInv" (double >> (fun x -> if x = 1 then nan else erfinv(x)) >> single) Matrix.ErfInv
testUnary "ErfInv" (double >> (fun x -> if x = 1 then double.PositiveInfinity else erfinv(x)) >> single) Matrix.ErfInv

Check failure on line 1719 in Tests/SingleMatrixTests.fs

View workflow job for this annotation

GitHub Actions / windows_core_64

The field, constructor or member 'PositiveInfinity' is not defined.

Check failure on line 1719 in Tests/SingleMatrixTests.fs

View workflow job for this annotation

GitHub Actions / windows_core_64

The field, constructor or member 'PositiveInfinity' is not defined.

Check failure on line 1719 in Tests/SingleMatrixTests.fs

View workflow job for this annotation

GitHub Actions / osx_core_64

The field, constructor or member 'PositiveInfinity' is not defined.

Check failure on line 1719 in Tests/SingleMatrixTests.fs

View workflow job for this annotation

GitHub Actions / linux_core_64

The field, constructor or member 'PositiveInfinity' is not defined.

Check failure on line 1719 in Tests/SingleMatrixTests.fs

View workflow job for this annotation

GitHub Actions / linux_core_64

The field, constructor or member 'PositiveInfinity' is not defined.
testUnary "ErfcInv" (double >> erfcinv >> single) Matrix.ErfcInv
testUnary "CdfNorm" (double >> normcdf >> single) Matrix.CdfNorm
testUnary "CdfNormInv" (double >> normcdfinv >> single) Matrix.CdfNormInv
Expand Down

0 comments on commit 33c7c90

Please sign in to comment.