Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error messages if smaller rescaling intervals needed #451

Open
hyanwong opened this issue Jan 16, 2025 · 0 comments
Open

Better error messages if smaller rescaling intervals needed #451

hyanwong opened this issue Jan 16, 2025 · 0 comments

Comments

@hyanwong
Copy link
Member

In #415, re setting a smaller number of rescaling intervals to avoid errors, @nspope wrote:

We'll add a more informative error message

I'm not sure which error message to change. The issue above fails on assert np.all(np.diff(rescaled_breaks) > 0) whereas #450 fails on piecewise_scale_posterior. Nevertheless, an error message which suggests a solution in both cases could be helpful.

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

No branches or pull requests

1 participant