[Rcpp-devel] [Pre-ANN] RcppArmadillo, and request for help

Dirk Eddelbuettel edd at debian.org
Mon Oct 9 21:30:04 CEST 2017

On 9 October 2017 at 11:52, George Vega Yon wrote:
| Yup, that works. I actually forgot to increase -edgelist- by 1 (from
| "adjmat_ans[edgelist]
| <- 1" to "adjmat_ans[edgelist + 1] <- 1") since it was indexing elements
| from 0, so what you got was OK.

I noticed that too and suspected the same 'off by one' issue.

| Anyway, I got the patched version and now
| everything works fine. So no problems from this end!

Excellent. Thanks so much for your help in tracking this down.  We're getting there!


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list