Skip to content

fix: use xp.sqrt in NFWSph.potential_func_sph#458

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/nfw-xp-fix
May 27, 2026
Merged

fix: use xp.sqrt in NFWSph.potential_func_sph#458
Jammy2211 merged 1 commit into
mainfrom
feature/nfw-xp-fix

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

One-line fix: hardcoded np.sqrt broke JAX path for NFWSph potential. Changed to xp.sqrt.

Hardcoded np.sqrt on line 422 broke the JAX path for NFWSph potential.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 27, 2026
@Jammy2211 Jammy2211 merged commit bf6404e into main May 27, 2026
6 checks passed
@Jammy2211 Jammy2211 deleted the feature/nfw-xp-fix branch May 27, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant