[Rcpp-devel] Armadillo version in RcppArmadillo

Dirk Eddelbuettel edd at debian.org
Thu Jul 15 19:55:10 CEST 2010

On 15 July 2010 at 10:34, Davor Cubranic wrote:
| I have some code that got broken by upgrading RcppArmadillo from 0.2.1 to 0.2.3. It looks like a problem in libArmadillo, and I'm going to file a bug with its developers. But I would like to confirm the version that is used by RcppArmadillo. Based on the Changelog on CRAN, it looks like RcppArmadillo 0.2.1 used Armadillo 0.9.8, and 0.2.3 upgraded to Armadillo 0.9.10. Is that correct?
| (FYI, the error is caused by code 'chol(m).diag()', for some 'mat m'. I get "const class arma::Op<arma::Mat<double>, arma::op_chol>’ has no member named ‘diag’".)

Can you do a two-step and assign the result of chol(m) to an arma::Mat and
then run diag() on it?

  Regards, Dirk

More information about the Rcpp-devel mailing list