[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #546 from j-towns/fix-arccsh
Browse files Browse the repository at this point in the history
Fix flakey arccosh test
  • Loading branch information
j-towns committed Nov 18, 2019
2 parents 12989c2 + c32a81d commit b37252a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_scalar_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_arctan():

def test_arccosh():
fun = lambda x : 3.0 * np.arccosh(x)
check_grads(fun)(npr.randn()**2 + 1)
check_grads(fun)(npr.randn()**2 + 1.2)

def test_arcsinh():
fun = lambda x : 3.0 * np.arcsinh(x)
Expand Down

0 comments on commit b37252a

Please sign in to comment.