Message-ID: <22903.14732.446095.524613@bud.eddelbuettel.com>
Date: 2017-07-25T12:29:00Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] RcppArmadillo Mat_meat.hpp:4467 and arma_static_check.hpp:31 errors
In-Reply-To: <CAJWJBr6BUYNjO8+eGVebtGHEocBYf4VUbG+V8ztj0fD=5JG0Ng@mail.gmail.com>
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