Commit c28df2ce authored by fbourgin's avatar fbourgin
Browse files

fix bug when computing the rank for ties

1 merge request!8Draft: Resolve "check the computation of the ranks for ties"
Pipeline #57943 failed with stage
in 3 minutes and 53 seconds
Showing with 1 addition and 1 deletion
+1 -1
......@@ -103,7 +103,7 @@ namespace evalhyd
xt::view(ranks, xt::all()) = xt::where(
!xt::isnan(min_ranks),
min_ranks
+ xt::round((max_ranks - max_ranks + 1)
+ xt::round((max_ranks - min_ranks + 1)
* xt::random::rand<double>(ranks.shape())),
ranks
);
......
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