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!

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

Reply via email to