Commit f8c8efe7 authored by Dorchies David's avatar Dorchies David
Browse files

fix(TransfoParam): issue with Cemaneige models

- Missing item "IsHyst" in `RunOptions$FeatFUN_MOD` causes crash

Regression after refactoring in #111
parent fca47a56
Pipeline #25993 canceled with stages
in 9 minutes and 31 seconds
......@@ -34,7 +34,7 @@ CreateRunOptions <- function(FUN_MOD, InputsModel,
}
if ("CemaNeige" %in% FeatFUN_MOD$Class) {
FeatFUN_MOD$IsHyst <- IsHyst
if (isHyst) {
if (IsHyst) {
ObjectClass <- c(ObjectClass, "hysteresis")
FeatFUN_MOD$NbParam <- FeatFUN_MOD$NbParam + 2
}
......
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