From 5e2ad9ce6bd5f948dfed45171952072e070fed30 Mon Sep 17 00:00:00 2001 From: "Nicolas L. Guidotti" Date: Tue, 9 Jun 2026 18:51:06 +0200 Subject: [PATCH] tentative fix for crash on symmetry after some generators are pruned Signed-off-by: Nicolas L. Guidotti --- cpp/src/branch_and_bound/symmetry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/branch_and_bound/symmetry.hpp b/cpp/src/branch_and_bound/symmetry.hpp index f8e9ce469b..64ecbd6fd6 100644 --- a/cpp/src/branch_and_bound/symmetry.hpp +++ b/cpp/src/branch_and_bound/symmetry.hpp @@ -319,7 +319,7 @@ class orbital_fixing_t { node = node->parent; } - surviving_generators_.resize(max_generators_); + surviving_generators_.resize(symmetry->num_generators); std::iota(surviving_generators_.begin(), surviving_generators_.end(), 0); // Seed cumulative fixings from the parent's stored orbital fixings.