Skip to content

Commit 5bd787e

Browse files
authored
Merge branch 'fix/stanheaders' into patch/stanheaders
2 parents 872bc3a + dd7dcc1 commit 5bd787e

3 files changed

Lines changed: 29 additions & 4 deletions

File tree

‎ChangeLog‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1+
12
2026-10-07 Steve Bronder <sbronder@flatironinstitute.org>
23

3-
* inst/include/Eigen/src/Core/Fill.h: Apply upstream commit e246f9cb
4-
to use memset only if !NumTraits<Scalar>::RequireInitialization
54
* inst/include/Eigen/src/Core/arch/AVX/TypeCasting.h: Apply upstream
65
commit 43a01f06 to support gcc < 10.1 and clang < 10
76
* inst/include/Eigen/src/Core/arch/AVX512/PacketMath.h: Idem
87
* inst/include/Eigen/src/Core/arch/AVX512/TypeCasting.h: Idem
98

9+
2026-10-06 Dirk Eddelbuettel <edd@debian.org>
10+
11+
* patches/eigen-5.0.1-stan.diff: Document previous commit as diff
12+
13+
2026-10-01 Dirk Eddelbuettel <edd@debian.org>
14+
15+
* inst/include/Eigen/src/Core/Fill.h: Apply upstream commit e246f9cb
16+
to use memset only if !NumTraits<Scalar>::RequireInitialization
17+
1018
2026-07-27 Dirk Eddelbuettel <edd@debian.org>
1119

1220
* configure.ac: Conditionally adding compilation flags

‎DESCRIPTION‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: RcppEigen
22
Type: Package
33
Title: 'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library
4-
Version: 0.4.9.9-2
5-
Date: 2026-06-04
4+
Version: 0.4.9.9-4
5+
Date: 2026-10-01
66
Authors@R: c(person("Doug", "Bates", role = "aut",
77
comment = c(ORCID = "0000-0001-8316-9503")),
88
person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org",

‎patches/eigen-5.0.1-stan.diff‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
diff --git o/inst/include/Eigen/src/Core/Fill.h w/inst/include/Eigen/src/Core/Fill.h
2+
index 779ef26..6f45935 100644
3+
--- o/inst/include/Eigen/src/Core/Fill.h
4+
+++ w/inst/include/Eigen/src/Core/Fill.h
5+
@@ -93,8 +93,10 @@ struct eigen_fill_impl<Xpr, /*use_fill*/ true> {
6+
7+
template <typename Xpr>
8+
struct eigen_memset_helper {
9+
- static constexpr bool value =
10+
- std::is_trivially_copyable<typename Xpr::Scalar>::value && eigen_fill_helper<Xpr>::value;
11+
+ using Scalar = typename Xpr::Scalar;
12+
+ static constexpr bool value = std::is_trivially_copyable<Scalar>::value &&
13+
+ !static_cast<bool>(NumTraits<Scalar>::RequireInitialization) &&
14+
+ eigen_fill_helper<Xpr>::value;
15+
};
16+
17+
template <typename Xpr>

0 commit comments

Comments
 (0)