Skip to content

Commit

Permalink
Ignore an incorrect mypy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jblespiau committed Oct 7, 2020
1 parent c88be87 commit ab7436a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jax/linear_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _most_recent_entry():
thread_local.most_recent_entry = None
return result

memoized_fun.most_recent_entry = _most_recent_entry
memoized_fun.most_recent_entry = _most_recent_entry # type: ignore
memoized_fun.cache_clear = fun_caches.clear # type: ignore

return memoized_fun
Expand Down
2 changes: 1 addition & 1 deletion tests/jax_jit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_convert_scalars(self):
self.assertEqual(jnp.asarray(1 + 1j).dtype, res.dtype)

def test_signature_support(self):
if version < (0, 1, 54):
if version < (0, 1, 56):
return

def f(a, b, c):
Expand Down

0 comments on commit ab7436a

Please sign in to comment.