[Rcpp-devel] RcppArmadillo Mat_meat.hpp:4467 and arma_static_check.hpp:31 errors

Dirk Eddelbuettel edd at debian.org
Tue Jul 25 14:29:00 CEST 2017


On 25 July 2017 at 12:56, Patrick Veenstra wrote:
| My apologies! I mistook what the code in those files were for. It seemed to
| be completely separate from my code. So I thought it was something about my
| environment. But in the process of setting up a reproducible example, I
| found that actually it was something in my own code. An accidental
| assignment of zeros<mat>(x,y) to a umat. Odd that this error came through
| in those files rather than directly in my cpp file. Anyway, lesson learnt!
| Don't assume anything!

Yes, been there, done that -- that is one of many reasons why creating a
reproducible example is a good exercise.  I too had numerous report
dispappear that way before sending :)

Dirk

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


More information about the Rcpp-devel mailing list