Commit 60d9bf61 authored by Dorchies David's avatar Dorchies David
Browse files

fix(SD): Set FUN_SD to NULL when !IsSD

Version from Enola 09/06/2022

Refs HYCAR-Hydro/airgr#152, HYCAR-Hydro/airgr#153
parent f8a06071
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
......@@ -24,6 +24,9 @@ CreateCalibOptions <- function(FUN_MOD,
}
## check FUN_MOD
if (!isTRUE(IsSD)) {
FUN_SD <- NULL
}
FeatFUN_MOD <- .GetFeatModel(FUN_MOD = FUN_MOD, FUN_SD = FUN_SD)
FeatFUN_MOD$IsHyst <- IsHyst
FeatFUN_MOD$IsSD <- IsSD
......
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