From cb9a15eb9d558b2b4b67f9e6806b394f65bff01f Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Wed, 30 Nov 2022 20:15:42 -0600 Subject: [PATCH] Simplify includes and only include RcppArmadillo.h --- inst/include/sgl.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/inst/include/sgl.h b/inst/include/sgl.h index a36011e..869a295 100644 --- a/inst/include/sgl.h +++ b/inst/include/sgl.h @@ -21,13 +21,12 @@ #define R_NO_REMAP +//R, Rcpp, RcppArmadillo +#include + //Progress monitor #include -//Rcpp ect -#include -#include -#include // Debugging #ifdef SGL_DEBUG @@ -45,8 +44,10 @@ #else // Do no debugging #define ARMA_NO_DEBUG +#ifndef NDEBUG #define NDEBUG #endif +#endif // Registration helper macros #define STR_VALUE(x) #x @@ -59,11 +60,6 @@ #define CALL_METHOD(METHOD, MODULE, ARGS) {GET_STR_VALUE(FUN_NAME(METHOD,MODULE)), (DL_FUNC) &r_ ## MODULE ## _ ## METHOD, ARGS} -//Support for xl matrices -//#define ARMA_64BIT_WORD - -#include -#include //Boost #include scm'>logtreecommitdiff
AgeCommit message (Expand)Author
2021-05-28import: opam: Generate license for package....* guix/import/opam.scm (opam->guix-package): Generate license for the ‘license’ field. * tests/opam.scm (test-opam-file): Update accordingly. ("opam->guix-package"): Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2020-12-08import: opam: Adjust test to latest 'opam->guix-package' changes....This is a followup to a8dccd4bdc1e58219d4ba08fe1649bf0b8325f44, which broke the test. * guix/import/opam.scm (get-opam-repository): Prevent inlining. * tests/opam.scm ("opam->guix-package"): Mock 'get-opam-repository'. Ludovic Courtès
2020-12-08guix: opam: Pass default repository to recursive importer....* guix/import/opam.scm (opam->guix-package): Rename #:repository key to #:repo. (opam-recursive-import): Pass #:repo keyword. * tests/opam.scm (opam->guix-package): Rename #:repository to #:repo. Julien Lepiller
2020-10-02tests: opam: Test additional syntax....* tests/opam.scm (test-comment): New test. (test-lists): Add more tests for complex list patterns. Julien Lepiller
2020-10-02tests: opam: Factorize tests....* tests/opam.scm: Remove duplicate code. Julien Lepiller
2020-01-17import: opam: Avoid uses of '@@' in tests....* guix/import/opam.scm (string-pat, multiline-string, list-pat) (dict, condition): Export. (opam-fetch): Add optional 'repository' parameter. (opam->guix-package): Add #:repository parameter and pass it to 'opam-fetch'. * tests/opam.scm ("opam->guix-package"): Remove use of 'mock' and pass TEST-REPO to 'opam->guix-package' instead. ("parse-strings", "parse-multiline-strings") ("parse-lists", "parse-dicts", "parse-conditions"): Remove uses of '@@', which are no longer needed. Ludovic Courtès