CreateIniStates: Mistake when checking if IntStore is not NULL with another model than GR5H
There is a mistake in the check of IntStore when using another model than GR5H. https://gitlab.irstea.fr/HYCAR-Hydro/airgr/-/blob/dev/R/CreateIniStates.R#L77
It should be :
if (!(identical(FUN_MOD, RunModel_GR5H) | identical(FUN_MOD, RunModel_CemaNeigeGR5H)) & !is.null(IntStore))
instead of :
if ((!identical(FUN_MOD, RunModel_GR5H) | identical(FUN_MOD, RunModel_CemaNeigeGR5H)) & !is.null(IntStore))