Skip to content

feat(distribution): add non-panicking try_inverse_cdf#391

Merged
YeungOnion merged 2 commits into
statrs-dev:mainfrom
YeungOnion:non-panic-api
Jul 19, 2026
Merged

feat(distribution): add non-panicking try_inverse_cdf#391
YeungOnion merged 2 commits into
statrs-dev:mainfrom
YeungOnion:non-panic-api

Conversation

@YeungOnion

Copy link
Copy Markdown
Contributor

start to expose fallible API for ContinuousCDF responding to #366

cherry-picked from #377

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.67%. Comparing base (7f6c9ee) to head (df1dcd2).

Files with missing lines Patch % Lines
src/distribution/beta.rs 0.00% 5 Missing ⚠️
src/distribution/mod.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #391      +/-   ##
==========================================
- Coverage   94.73%   94.67%   -0.06%     
==========================================
  Files          59       59              
  Lines       13052    13060       +8     
==========================================
  Hits        12365    12365              
- Misses        687      695       +8     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@YeungOnion

Copy link
Copy Markdown
Contributor Author

@soumyasen1809 I narrowed to use an error enum instead of a trait object on the error.

@YeungOnion
YeungOnion merged commit 6370727 into statrs-dev:main Jul 19, 2026
10 of 11 checks passed
@YeungOnion YeungOnion mentioned this pull request Jul 19, 2026
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