Skip to content

Commit

Permalink
ENH: show reason for assert failure
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed May 21, 2024
1 parent e7858f7 commit 8f38015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/serialization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@
" s_expr = s_expr.xreplace(MODEL.masses).doit()\n",
" expr = perform_cached_doit(intensity_expr.xreplace({s: s_expr}))\n",
" func = perform_cached_lambdify(expr, backend=\"jax\")\n",
" assert len(func.argument_order) == 2\n",
" assert len(func.argument_order) == 2, func.argument_order\n",
" intensity_funcs[k] = func"
]
},
Expand Down

0 comments on commit 8f38015

Please sign in to comment.