RfastOfficial/Rfast

`parallel = TRUE` and `parallel = FALSE` not returning equivalent results in `rowAll`/`colAll`

jblood94 opened this issue · 1 comments

Describe the bug
rowAll (and colAll) give different results depending on the value of parallel.

To Reproduce

library(Rfast)
set.seed(1601572921)
x <- matrix(runif(100), 10, 10)
identical(colAll(x < 0.9), colAll(x < 0.9, parallel = TRUE))
#> [1] FALSE
identical(rowAll(x < 0.9), rowAll(x < 0.9, parallel = TRUE))
#> [1] FALSE

Expected behavior
The calls to identical above should both return TRUE.

Desktop:

  • OS: Windows 10 64-bit
  • R-Version 4.3.0
  • Rfast-Version 2.1.0