From fc0f7ee03e4df12cb9e50923caf8edd0c0896dd9 Mon Sep 17 00:00:00 2001 From: Robert Haist Date: Sun, 3 May 2026 12:02:33 +0200 Subject: [PATCH] Bump Eigen submodule to 5.0.0 Updates Dependencies/eigen from a pre-3.5 dev snapshot (87300c93c, 2023-04-17) to the released 5.0.0 tag (549bf8c75, 2025-09-28). Why this closes #67 ------------------- Issue #67 asks that we follow Eigen's struct-having-Eigen-members guidance to ensure correct alignment of Eigen members. The Eigen 5.0 release notes resolve this at the library level: > Eigen now uses the c++11 alignas keyword for static alignment. > Users targeting C++17 only and recent compilers (e.g., GCC>=7, > clang>=5, MSVC>=19.12) will thus be able to completely forget about > all issues related to static alignment, including > EIGEN_MAKE_ALIGNED_OPERATOR_NEW. NAM already requires C++20 (see CMakeLists.txt). With Eigen 5.0, the README "Sharp edges" workarounds (EIGEN_MAX_ALIGN_BYTES=0, EIGEN_DONT_VECTORIZE) are no longer needed. A follow-up commit can remove that section. Refs #67. --- Dependencies/eigen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dependencies/eigen b/Dependencies/eigen index 87300c93..549bf8c7 160000 --- a/Dependencies/eigen +++ b/Dependencies/eigen @@ -1 +1 @@ -Subproject commit 87300c93cae6a8afd9a4f8aa8d9d5c5324cf02e1 +Subproject commit 549bf8c75b6aae071cde2f28aa48f16ee3ae60b0