Skip to content

[BUG] correct warning message for distribution cdf in approximate case#556

Merged
fkiraly merged 3 commits into
mainfrom
typo-base-msg
Jun 28, 2025
Merged

[BUG] correct warning message for distribution cdf in approximate case#556
fkiraly merged 3 commits into
mainfrom
typo-base-msg

Conversation

@fkiraly
Copy link
Copy Markdown
Collaborator

@fkiraly fkiraly commented Jun 27, 2025

When a distribution cdf does not have an analytical implementation, the fallback implementation from the BaseDistribution may be called, which is a simple Monte Carlo estimate that will trigger a warning.

However, the warning refers to the mean, and not the cdf - this is a mistake.

This PR fixes the error message.

@fkiraly fkiraly added bug module:probability&simulation probability distributions and simulators labels Jun 27, 2025
@fkiraly fkiraly merged commit fae5dc4 into main Jun 28, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug module:probability&simulation probability distributions and simulators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant