Commit 730e9909 authored by Dorchies David's avatar Dorchies David
Browse files

refactor(dependencies): issues with number of parameters for GR models

- After changes in HYCAR-Hydro/airgr#111

Refs #48
parent 5d411323
......@@ -11,6 +11,7 @@ RunModel.GR <- function(x, RunOptions, Param, ...) {
if (inherits(x, "SD")) {
# Lag model take one parameter at the beginning of the vector
iFirstParamRunOffModel <- 2
RunOptions$FeatFUN_MOD$NbParam <- RunOptions$FeatFUN_MOD$NbParam - 1
} else {
# All parameters
iFirstParamRunOffModel <- 1
......
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