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

Prevent sign_flip from overflowing in the Chebyshev grid calculation #1

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

pavel-po
Copy link
Contributor

When the user-requested number of coefficients is large, the precision type cannot hold the result of the product without overflowing. This change fixes the warning and prevent an overflow.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@iskakoff iskakoff merged commit d687427 into main Oct 31, 2024
1 check passed
@iskakoff iskakoff deleted the sign_flip_cheb_fix branch October 31, 2024 18:49
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.

3 participants