colRanks bug with method = "min"
Closed this issue · 2 comments
jblood94 commented
Describe the bug
colRanks
and rowRanks
do not seem to behave correctly with method = "min"
.
To Reproduce Erroneous Results
set.seed(1)
m <- matrix(runif(16), 4)
Rfast::colRanks(m, "min")
Rfast::colRanks(m, "max")
Expected behavior
The output of the two function calls should be identical.
Desktop:
- OS: Windows 10 64-bit
- R-Version 4.2.2
- Rfast-Version 2.0.7
ManosPapadakis95 commented
the bug have been fixed. The new version will be available in the next update. Thanks.
ManosPapadakis95 commented
Although, rank max's behaviour is ok. Only min had a bug.