[BUG/ISSUE] Wrong placement of YIN argument in subroutine Update_Rconst #119
Labels
bug
Something isn't working
build
Related to makefiles and/or compilation
code / structural
Related to structural source code updates
Milestone
In the
dev
branch, when we create the*Rates.F90
file, theYIN
argument definition statements in routineUpdate_Rconst
are placed before theINLINED_RCONST
statement. If aUSE
statement is included in theINLINED_RCONST
section, then this will generate code such as this:This will generate an error such as:
This is because the USE statement must come before any variable declarations or executable statements.
The fix is simple, to place the
INLINED_RCONST
section first before adding theYIN
variable declarations. I can push a fix.Currently this only affects code in the
dev
branch but not inmain
.Tagging @jimmielin @RolfSander
The text was updated successfully, but these errors were encountered: