Commit f074d04e authored by David's avatar David
Browse files

fix(CreateInputsModel): Missing IsHyst arguments in function calls

Refs #134
Showing with 3 additions and 2 deletions
+3 -2
...@@ -215,7 +215,8 @@ CreateInputsModel.GRiwrm <- function(x, DatesR, ...@@ -215,7 +215,8 @@ CreateInputsModel.GRiwrm <- function(x, DatesR,
HypsoData = getInputBV(HypsoData, id), HypsoData = getInputBV(HypsoData, id),
NLayers = getInputBV(NLayers, id, 5), NLayers = getInputBV(NLayers, id, 5),
Qobs = Qobs, Qobs = Qobs,
Qmin = getInputBV(Qmin, id) Qmin = getInputBV(Qmin, id),
IsHyst = IsHyst
) )
} }
attr(InputsModel, "TimeStep") <- getModelTimeStep(InputsModel) attr(InputsModel, "TimeStep") <- getModelTimeStep(InputsModel)
...@@ -250,7 +251,7 @@ CreateEmptyGRiwrmInputsModel <- function(griwrm) { ...@@ -250,7 +251,7 @@ CreateEmptyGRiwrmInputsModel <- function(griwrm) {
#' #'
#' @return \emph{InputsModel} object for one. #' @return \emph{InputsModel} object for one.
#' @noRd #' @noRd
CreateOneGRiwrmInputsModel <- function(id, griwrm, ..., Qobs, Qmin) { CreateOneGRiwrmInputsModel <- function(id, griwrm, ..., Qobs, Qmin, IsHyst) {
np <- getNodeProperties(id, griwrm) np <- getNodeProperties(id, griwrm)
if (np$Diversion) { if (np$Diversion) {
......
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