diff --git a/include/evalhyd/detail/probabilist/brier.hpp b/include/evalhyd/detail/probabilist/brier.hpp index 1da4fdd01dc3982591d6fba9bbf18cb33d478d98..2beef726ad61be34c3e54cc2eda8eeece2cd490f 100644 --- a/include/evalhyd/detail/probabilist/brier.hpp +++ b/include/evalhyd/detail/probabilist/brier.hpp @@ -164,7 +164,7 @@ namespace evalhyd // determine probability of threshold(s) exceedance // /!\ probability calculation dividing by n (the number of // members), not n+1 (the number of ranks) like in other metrics - return xt::cast<double>(sum_f_k) / n_mbr; + return sum_f_k / n_mbr; } }