Skip to content

Commit 1a077fa

Browse files
Update call to RcppArmadillo_fastLm_impl
- RcppArmadillo's underlying implementation of fastLm was renamed to fastLm_impl in RcppCore/RcppArmadillo#164 (mid-August 2017) - Call the RcppAttributes generated C++ function directly
1 parent 1a898f7 commit 1a077fa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2018-05-30 Michael Weylandt <michael.weylandt@gmail.com>
2+
3+
* inst/examples/lmBenchmark.R: Update call to RcppArmadillo's version
4+
of fastLm in benchmark script
5+
16
2018-05-25 Ralf Stubner <ralf.stubner@daqana.com>
27

38
* inst/include/RcppEigenWrap.h: Use Rf_xlength and R_xlen_t to

inst/examples/lmBenchmark.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exprs$QR <- expression(.Call("RcppEigen_fastLm_Impl", mm, y, 1L, PACKAGE="RcppEi
3737
exprs$LLt <- expression(.Call("RcppEigen_fastLm_Impl", mm, y, 3L, PACKAGE="RcppEigen"))
3838

3939
if (suppressMessages(require("RcppArmadillo", character=TRUE, quietly=TRUE))) {
40-
exprs$arma <- expression(.Call("RcppArmadillo_fastLm", mm, y, PACKAGE="RcppArmadillo"))
40+
exprs$arma <- expression(.Call("_RcppArmadillo_fastLm_impl", mm, y, PACKAGE="RcppArmadillo"))
4141
}
4242

4343
if (suppressMessages(require("RcppGSL", character=TRUE, quietly=TRUE))) {

0 commit comments

Comments
 (0)