From 1483c10048c0c553870e7f71c71edcb67ee964b5 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 18 Feb 2024 08:51:06 -0600 Subject: [PATCH] Switch to src/ files to RcppArmadillo/Lightest --- ChangeLog | 3 +++ src/RcppArmadillo.cpp | 4 ++-- src/fastLm.cpp | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index f4198d3f..c471c0a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-02-18 Dirk Eddelbuettel + * src/fastLm.cpp: Switch to RcppArmadillo/Lightest + * src/RcppArmadillo.cpp: Idem + * README.md: Update count to February 2024, update example, edits 2024-02-08 Dirk Eddelbuettel diff --git a/src/RcppArmadillo.cpp b/src/RcppArmadillo.cpp index 4f9e23fa..d215cbb2 100644 --- a/src/RcppArmadillo.cpp +++ b/src/RcppArmadillo.cpp @@ -1,7 +1,7 @@ // RcppArmadillo.cpp: Rcpp/Armadillo glue // -// Copyright (C) 2010 - 2023 Dirk Eddelbuettel, Romain Francois and Douglas Bates +// Copyright (C) 2010 - 2024 Dirk Eddelbuettel, Romain Francois and Douglas Bates // // This file is part of RcppArmadillo. // @@ -18,7 +18,7 @@ // You should have received a copy of the GNU General Public License // along with RcppArmadillo. If not, see . -#include +#include //' Report the version of Armadillo //' diff --git a/src/fastLm.cpp b/src/fastLm.cpp index 403fbbe8..9aeafd2d 100644 --- a/src/fastLm.cpp +++ b/src/fastLm.cpp @@ -2,7 +2,7 @@ // // fastLm.cpp: Rcpp/Armadillo glue example of a simple lm() alternative // -// Copyright (C) 2010 - 2022 Dirk Eddelbuettel, Romain Francois and Douglas Bates +// Copyright (C) 2010 - 2024 Dirk Eddelbuettel, Romain Francois and Douglas Bates // // This file is part of RcppArmadillo. // @@ -19,7 +19,7 @@ // You should have received a copy of the GNU General Public License // along with RcppArmadillo. If not, see . -#include +#include // [[Rcpp::export]] Rcpp::List fastLm_impl(const arma::mat& X, const arma::colvec& y) {