Commit 0bf5bf7e authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix: add missing TimeStep object in CreateInputsModel (erroneously removed)

Refs #106, 839d21d6, cb1e05b0
parent cb1e05b0
Pipeline #22521 passed with stages
in 9 minutes and 2 seconds
......@@ -30,6 +30,7 @@ CreateInputsModel <- function(FUN_MOD,
FUN_MOD <- match.fun(FUN_MOD)
FeatFUN_MOD <- .GetFeatModel(FUN_MOD = FUN_MOD, DatesR = DatesR)
ObjectClass <- FeatFUN_MOD$Class
TimeStep <- FeatFUN_MOD$TimeStep
##check_arguments
......@@ -286,7 +287,7 @@ CreateInputsModel <- function(FUN_MOD,
Qupstream <- Qupstream * TimeStep / 1e3
}
InputsModel <- c(InputsModel, list(Qupstream = Qupstream,
LengthHydro = LengthHydro,
LengthHydro = LengthHydro,
BasinAreas = BasinAreas))
}
......
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