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 33c7c90 commit 16156fa
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 double.PositiveInfinity else erfinv(x)) >> single) Matrix.ErfInv
testUnary "ErfInv" (double >> (fun x -> if x = 1 then Double.PositiveInfinity else erfinv(x)) >> single) Matrix.ErfInv
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 16156fa

Please sign in to comment.