[Rcpp-devel] segmentation fault when wrapping a big Eigen 2-d array
On 9 April 2018 at 09:51, Jack Wasey wrote:
| I seem to tread in unusual code paths often, which is | why I appreciate so much your guidance. I can't reproduce the error now | I've converted from integer Eigen matrix to Rcpp::IntegerMatrix, then | within Rcpp, Integer to Logical matrices. I think it is super tempting to write compact code like that. But the template magic is a little fragile, and nesting does not seem to help. So I just learned to be defensive and do it one step at time.. Dirk
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org