Commit 265725dc authored by Dorchies David's avatar Dorchies David
Browse files

Merge branch '131-runmodel_lag-extra-names-attribute-on-outputsmodel-qsim' into 'dev'

Resolve "RunModel_Lag: extra `names` attribute on `OutputsModel$Qsim`"

Closes #131

See merge request !53
parents 9bb1b039 a65e3870
Pipeline #24965 passed with stages
in 105 minutes and 20 seconds
...@@ -81,7 +81,7 @@ RunModel_Lag <- function(InputsModel, RunOptions, Param, QcontribDown) { ...@@ -81,7 +81,7 @@ RunModel_Lag <- function(InputsModel, RunOptions, Param, QcontribDown) {
# If warm-up period is not enough long complete beginning with first value # If warm-up period is not enough long complete beginning with first value
ini <- c(rep(ini[1], floor(PT[iUpBasins] + 1) - length(ini)), ini) ini <- c(rep(ini[1], floor(PT[iUpBasins] + 1) - length(ini)), ini)
} }
return(ini) return(as.vector(ini))
} }
) )
} }
......
Markdown is supported
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