You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 56375ba
Browse filesBrowse the repository at this point in the historyBrowse files
Promote Python-scalar primals to jnp arrays at jet() entry
Several primitive Taylor rules (notably _log1p_taylor) accessed .ndim on
the user-supplied primal, which fails when the caller passes a Python
float. Convert primals (and series) to jnp arrays once in jet() so every
rule can rely on array attributes.
Adds parametrized regression test test_python_float_primal across all
supported test functions.
Also: update author to Cambridge Yang only.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments