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 | 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