[Rcpp-devel] RcppParallel wrong after correct

Tim Keitt tkeitt at utexas.edu
Sun Jun 4 03:25:39 CEST 2017


On Fri, Jun 2, 2017 at 9:56 PM, Romain Francois <romain at r-enthusiasts.com>
wrote:

> The modulo is somehow not working correctly?


Possible. Modulo in C++ behaves differently than in R.

More likely is you are working outside the index bound that RcppParallel
uses to chunk the work.

THK

http://www.keittlab.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170604/5aee2ae1/attachment.html>


More information about the Rcpp-devel mailing list