bug with boolean type for temporal mask
Because of a bug identified in xtensor-r
(see https://github.com/xtensor-stack/xtensor-r/issues/134), the type declared for the t_msk parameter in evalhyd-r
had to be made as a tensor of double
(see https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-r/-/blob/main/src/evalhyd-r.cpp#L189), although it could have been made as a tensor of int
as well.
This results in a warning at runtime to warn of the type casting, and more importantly in a copy of the temporal mask in the process of casting.