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
Function rgroup_Grow: the variable tgmod is un-initialized/has outdated value if s->temp_class == NoSeason:
rgroup_Grow
tgmod
s->temp_class == NoSeason
if (s->tempclass != NoSeason) tgmod = Env.temp_reduction[s->tempclass];
I don't believe that this affects current runs because we have been setting temp_class to 1 WarmSeason or 2 CoolSeason.
temp_class
WarmSeason
CoolSeason
Suggested fix: replace above code with
tgmod = (s->tempclass == NoSeason) ? 1. : Env.temp_reduction[s->tempclass];
The text was updated successfully, but these errors were encountered:
Fix un-initialized variable tgmod (function rgroup_Grow)
18bfac0
the variable `tgmod` was un-initialized/had outdated value if `s->temp_class == NoSeason` - close #332
closed by 18bfac0
Sorry, something went wrong.
dschlaep
No branches or pull requests
Function
rgroup_Grow
: the variabletgmod
is un-initialized/has outdated value ifs->temp_class == NoSeason
:I don't believe that this affects current runs because we have been setting
temp_class
to 1WarmSeason
or 2CoolSeason
.Suggested fix: replace above code with
The text was updated successfully, but these errors were encountered: