Skip to content

fix: avoid redundant cast in JaxBackend._next_key and bump version to 0.2.8 - #3

Merged
Lethephyr merged 2 commits into
mainfrom
fix/jax-redundant-cast
Nov 18, 2026
Merged

Lethephyr merged 2 commits into
mainfrom
fix/jax-redundant-cast

Conversation

@Lethephyr

@Lethephyr Lethephyr commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Addresses review feedback on team-decent#53:

  • Replaces return cast("jax.Array", sub) with an annotated local binding sub: jax.Array = raw_sub in JaxBackend._next_key so mypy passes on newer jax ([redundant-cast]) while remaining compatible with older jax.
  • Bumps version in pyproject.toml from 0.2.7 to 0.2.8.

@Lethephyr Lethephyr changed the title fix: avoid redundant cast in JaxBackend._next_key fix: avoid redundant cast in JaxBackend._next_key and bump version to 0.2.8 Nov 18, 2026
@Lethephyr
Lethephyr merged commit 969a3d9 into main Nov 18, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant