On 29 October 2018 at 13:00, Barth Riley wrote: | Apologies for the misunderstanding.
No worries. This can be tricky, and R (and Rcpp) make simple(r) things easy but sometimes you need to step back and review whether the tooling is appropriate. R had an identified weakness with int-based indexing which was addressed in R itself (and also in Rcpp thanks to Qiang Kou's work during a Google Summer of Code) in most places. Maybe we have a leftover here but it is a little hard to tell. Also multi-dim arrays are somewhat less commonly used so you may be checking some untertested aspects. But in short: start by checking your index values. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel