diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-04-19 09:06:08 +0100 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-04-19 09:07:03 +0100 |
commit | 89e4a1f2c1d1997b8414e2e648c7b4b7c829b63e (patch) | |
tree | 6d06c79aff50c8cdec08f7d3f15405fa96f0efbb /math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R | |
parent | databases/{,py-}duckdb: update 0.10.1 → 0.10.2 (diff) |
math/R-cran-RcppArmadillo: Update to 0.12.8.2.1
ChangeLog: https://cran.r-project.org/web/packages/RcppArmadillo/news.html
Diffstat (limited to '')
-rw-r--r-- | math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R b/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R new file mode 100644 index 000000000000..9382883d73bd --- /dev/null +++ b/math/R-cran-RcppArmadillo/files/patch-inst_tinytest_test__cube.R @@ -0,0 +1,13 @@ +https://github.com/RcppCore/RcppArmadillo/issues/408 + +--- inst/tinytest/test_cube.R.orig 2023-02-19 18:01:50 UTC ++++ inst/tinytest/test_cube.R +@@ -24,7 +24,7 @@ Rcpp::sourceCpp("cpp/cube.cpp") + Rcpp::sourceCpp("cpp/cube.cpp") + + .onWindows <- .Platform$OS.type == "windows" +-critTol <- if (.onWindows) 1.0e-6 else 1.5e-7 ++critTol <- if (.onWindows || .Machine$sizeof.long == 4 || .Machine$sizeof.long == 8) 1.0e-6 else 1.5e-7 + + ## test arrays + dbl_cube <- array(1.5:27.5, rep(3, 3)) |