We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4598021 commit d7d5786Copy full SHA for d7d5786
brainpy/check.py
@@ -597,4 +597,5 @@ def jit_error_checking(pred, err_fun, err_arg=None):
597
The arguments which passed into `err_f`.
598
"""
599
600
- jax.jit(partial(_cond, err_fun), inline=True)(pred, err_arg)
+ # jax.jit(partial(_cond, err_fun), inline=True)(pred, err_arg)
601
+ partial(_cond, err_fun)(pred, err_arg)
0 commit comments