Commit 9d6c6d25 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

fix: correct wrong conditionnal test when user choose the outputs of RunModel_CemaNeigeGR6J

parent 4d3cf421
Pipeline #21719 passed with stages
in 8 minutes and 28 seconds
......@@ -199,7 +199,7 @@ RunModel_CemaNeigeGR6J <- function(InputsModel, RunOptions, Param) {
names(OutputsModel) <- c(FortranOutputs$GR[IndOutputsMod], NameCemaNeigeLayers)
}
## DatesR and OutputsModel only
if (!ExportDatesR & ExportStateEnd) {
if (ExportDatesR & !ExportStateEnd) {
OutputsModel <- c(list(InputsModel$DatesR[RunOptions$IndPeriod_Run]),
lapply(seq_len(RESULTS$NOutputs), function(i) RESULTS$Outputs[IndPeriod2, i]),
list(CemaNeigeLayers))
......
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