From 7ae9cd27afebabd54353e038b4596332357b91c2 Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Mon, 4 Dec 2023 20:12:46 +0100 Subject: [PATCH] [ldlt] do not include ProxSuiteLDLTWrapper in variant --- include/proxnlp/ldlt-allocator.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/proxnlp/ldlt-allocator.hpp b/include/proxnlp/ldlt-allocator.hpp index ea0d5049..85cefb10 100644 --- a/include/proxnlp/ldlt-allocator.hpp +++ b/include/proxnlp/ldlt-allocator.hpp @@ -35,8 +35,12 @@ template , linalg::BlockLDLT, linalg::EigenLDLTWrapper, - Eigen::BunchKaufman, - linalg::ProxSuiteLDLTWrapper>; + Eigen::BunchKaufman +#ifdef PROXNLP_ENABLE_PROXSUITE_LDLT + , + linalg::ProxSuiteLDLTWrapper +#endif + >; inline linalg::SymbolicBlockMatrix create_default_block_structure(const std::vector &dims_primal,