Closed MalteThodberg closed 5 years ago
Thanks, Malte. I can confirm the error and suspect I know the source. I'll take a look this week.
Thanks again for the clear bug report, @MalteThodberg. This is fixed in v1.3.9 (available in the devel branch of Bioconductor in a few days) and I've added your example as a unit test.
Hmm, there looks to be an issue with the fix on Windows (https://www.bioconductor.org/checkResults/3.8/bioc-LATEST/DelayedMatrixStats/tokay1-checksrc.html) I don't have ready access to a Windows machine to test this on. By chance are you on Windows, @MalteThodberg, and able to test?
Unfortunately not, I'm on macOS/linux.
The current GitHub version works for me now. I'm doing some quick benchmarks to compare the speed of DelayedMatrixStats::rowsum to Matrix.utils::aggregate.Matrix.
I'm getting some strange error messages when trying the new rowsum() method on large RleMatrix-objects or dgCMatrix-objects. I think it's related the the block processing, here's how to reproduce the errors: