Skip to content

Update FlatLambdaCDM docstring to reflect JAX implementation#270

Merged
Jammy2211 merged 3 commits intofeature/cosmology_jaxfrom
copilot/sub-pr-269
Jan 30, 2026
Merged

Update FlatLambdaCDM docstring to reflect JAX implementation#270
Jammy2211 merged 3 commits intofeature/cosmology_jaxfrom
copilot/sub-pr-269

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 30, 2026

The FlatLambdaCDM class docstring incorrectly stated it wraps astropy's FlatLambdaCDM, when it's actually a standalone JAX-compatible implementation.

Changes

  • Updated docstring to clarify this is a custom JAX-compatible implementation, not an astropy wrapper
  • Removed references to inheriting from astropy's class
  • Documented that it supports both NumPy and JAX backends for automatic differentiation and GPU acceleration
  • Noted that interface follows astropy's naming conventions for compatibility

The class implementation was already correct—only the documentation was misleading.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 30, 2026 14:54
Co-authored-by: Jammy2211 <23455639+Jammy2211@users.noreply.github.com>
Co-authored-by: Jammy2211 <23455639+Jammy2211@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on Feature/cosmology JAX pull request Update FlatLambdaCDM docstring to reflect JAX implementation Jan 30, 2026
Copilot AI requested a review from Jammy2211 January 30, 2026 14:58
@Jammy2211 Jammy2211 marked this pull request as ready for review January 30, 2026 15:05
@Jammy2211 Jammy2211 merged commit 7f6ff50 into feature/cosmology_jax Jan 30, 2026
8 checks passed
@Jammy2211 Jammy2211 deleted the copilot/sub-pr-269 branch February 13, 2026 13:43
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.

2 participants