We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ChebyCoeff::slope_a() for nontrivial profiles typically returns extremely high values - at least for my build environment (gcc 6.4.0).
ChebyCoeff::slope_a()
This is because the loop index n is given as auto, becoming an unsigned int, but its negation is required in the computation leading to an overflow.
n
auto
unsigned int
I wonder if some compilers behave differently leading to this not being picked up before.
Anyway, this can be fixed quickly by using an int instead, as in ChebyCoeff::slope_b().
int
ChebyCoeff::slope_b()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ChebyCoeff::slope_a()
for nontrivial profiles typically returns extremely high values - at least for my build environment (gcc 6.4.0).This is because the loop index
n
is given asauto
, becoming anunsigned int
, but its negation is required in the computation leading to an overflow.I wonder if some compilers behave differently leading to this not being picked up before.
Anyway, this can be fixed quickly by using an
int
instead, as inChebyCoeff::slope_b()
.The text was updated successfully, but these errors were encountered: