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
@owang01
igen_XXX terms for sea level cost are initialized as zero and then set to k if a matching name appears in the gencost_name array:
igen_XXX
k
gencost_name array
cost_gencost_sshv4.F: igen_gmsl=0 cost_gencost_sshv4.F: if (gencost_name(k).EQ.'sshv4-gmsl') igen_gmsl=k
igen_gmsl=0
if (gencost_name(k).EQ.'sshv4-gmsl') igen_gmsl=k
However, later these igen_XXX terms are used as array indices: cost_gencost_sshv4.F: if (gencost_outputlevel(igen_gmsl).GT.0) then
cost_gencost_sshv4.F: if (gencost_outputlevel(igen_gmsl).GT.0) then
without checking to make sure that igen_XXX > 0.
igen_XXX > 0
This results in array out of bounds.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@owang01
igen_XXX
terms for sea level cost are initialized as zero and then set tok
if a matching name appears in thegencost_name array
:cost_gencost_sshv4.F:
igen_gmsl=0
cost_gencost_sshv4.F:
if (gencost_name(k).EQ.'sshv4-gmsl') igen_gmsl=k
However, later these
igen_XXX
terms are used as array indices:cost_gencost_sshv4.F: if (gencost_outputlevel(igen_gmsl).GT.0) then
without checking to make sure that
igen_XXX > 0
.This results in array out of bounds.
The text was updated successfully, but these errors were encountered: