Skip to content

Commit

Permalink
Fix x64 test
Browse files Browse the repository at this point in the history
  • Loading branch information
j-towns committed Jun 4, 2020
1 parent 0f00327 commit 38d4837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/masking_test.py
Expand Up @@ -413,9 +413,9 @@ def fun(x):
@jit
def concat(y):
return lax.concatenate([x, y], 0)
return concat(jnp.array([1., 2., 3.]))
return concat(jnp.array([1., 2., 3.], dtype='float32'))

self.check(fun, ['n'], '(n+3,)', {'n': 2}, [(3,)], ['float_'],
self.check(fun, ['n'], '(n+3,)', {'n': 2}, [(3,)], ['float32'],
rand_default(self.rng()))

@parameterized.named_parameters({
Expand Down

0 comments on commit 38d4837

Please sign in to comment.