Skip to content

fix: validate ess parameter to prevent low ESS segmentation faults (#47) - #147

Open
sharwaripalve33-sketch wants to merge 1 commit into
GeomScale:developfrom
sharwaripalve33-sketch:fix/validate-ess-parameter
Open

sharwaripalve33-sketch wants to merge 1 commit into
GeomScale:developfrom
sharwaripalve33-sketch:fix/validate-ess-parameter

Conversation

@sharwaripalve33-sketch

@sharwaripalve33-sketch sharwaripalve33-sketch commented Nov 3, 2026 •

Copy link
Copy Markdown

Summary of Changes

  • Adds input validation for ess in generate_steady_states to ensure ess >= 10.
  • Adds a unit test in tests/sampling.py verifying that invalid ess values raise a ValueError.

Fixes #47

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.

segmentation fault when ESS low

1 participant