Commit bbf7a43d authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

style: fix typo in 'RunModel_Lag'

Showing with 1 addition and 1 deletion
+1 -1
......@@ -151,7 +151,7 @@ RunModel_Lag <- function(InputsModel, RunOptions, Param, QcontribDown) {
lastTS <- RunOptions$IndPeriod_Run[length(RunOptions$IndPeriod_Run)]
InputsModel$Qupstream[(lastTS - floor(PT[x])):lastTS, x]
})
if(is.null(OutputsModel$StateEnd)) {
if (is.null(OutputsModel$StateEnd)) {
OutputsModel$StateEnd <- CreateIniStates(RunModel_Lag, InputsModel, SD = SD)
} else {
OutputsModel$StateEnd$SD <- SD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment