Skip to content

Conversation

@swetank18
Copy link

Depends on #20992

Motivation:
Several analytical integrals assume valid parameter domains (e.g. sigma > 0)
without enforcing them, which may lead to undefined numerical behavior.

Changes:

  • Add explicit parameter-domain checks for Gaussian, Landau, and Crystal Ball integrals
  • Return QuietNaN for invalid parameter configurations

Impact:

  • Improves robustness and predictability of analytical integrations
  • No API changes

@swetank18 swetank18 requested a review from hageboeck as a code owner January 22, 2026 19:24
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