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

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