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
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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
}
......
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