Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lgarrison
Copy link
Collaborator

@lgarrison lgarrison commented Jun 25, 2025

Describe your changes

Catch EXP interpolator exceptions (usually caused by an out-of-bounds time) and return NAN. This at least avoids crashing the interpreter. Hopefully we'll be able to propagate the exception to Python instead soon.

Also update the EXPPotential docs a bit.

x-ref #423

Checklist

  • Did you add tests?
  • Did you add documentation for your changes?
  • Did you reference any relevant issues?
  • Did you add a changelog entry? (see CHANGES.rst)
  • Are the CI tests passing?
  • Is the milestone set?

@adrn adrn modified the milestones: Gala 2.0, v1.10 Jun 26, 2025
Copy link
Owner

@adrn adrn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from the one suggested minor changelog edit! Thanks

lgarrison and others added 2 commits June 26, 2025 21:10
@adrn adrn merged commit 4d66247 into adrn:main Jun 27, 2025
12 checks passed
@lgarrison lgarrison deleted the exp-exception branch June 27, 2025 01:36
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