Commit 45a88725 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

remove unnecessary casting

1 merge request!3release v0.1.0
Pipeline #43391 passed with stage
in 2 minutes and 20 seconds
Showing with 1 addition and 1 deletion
+1 -1
...@@ -164,7 +164,7 @@ namespace evalhyd ...@@ -164,7 +164,7 @@ namespace evalhyd
// determine probability of threshold(s) exceedance // determine probability of threshold(s) exceedance
// /!\ probability calculation dividing by n (the number of // /!\ probability calculation dividing by n (the number of
// members), not n+1 (the number of ranks) like in other metrics // 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;
} }
} }
......
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