Commit 2590a4d2 authored by Delaigue Olivier's avatar Delaigue Olivier Committed by Dorchies David

v1.6.1.5 BUG: wrong change introduced in commit 2ff9e331 is fixed #34

parent cc7433c3
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.6.1.4
Version: 1.6.1.5
Date: 2020-04-05
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -2,7 +2,7 @@
### 1.6.1.4 Release Notes (2020-04-05)
### 1.6.1.5 Release Notes (2020-04-05)
#### New features
......
......@@ -12,7 +12,7 @@ RunModel <- function (InputsModel, RunOptions, Param, FUN_MOD) {
}
AreaTot <- sum(InputsModel$BasinAreas)
OutputsModelDown$Qsim <- OutputsModelDown$QsimDown * InputsModel$BasinAreas[length(InputsModel$BasinAreas)] / AreaTot +
1000 / Param[-length(Param)] / TimeStep *
1000 / Param[length(Param)] / TimeStep *
InputsModel$QobsUpstr %*% (InputsModel$LengthHydro[1, ] * InputsModel$BasinAreas[1:length(InputsModel$LengthHydro)])
} else {
OutputsModelDown <- FUN_MOD(InputsModel = InputsModel, RunOptions = RunOptions, Param = Param)
......
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