Fix rand_mode(0) on sub-object members not preventing solver write-back (#7272)

This commit is contained in:
Yilou Wang
2026-03-17 15:09:14 -04:00
committed by GitHub
parent 316fb02c60
commit 8925762077
7 changed files with 196 additions and 2 deletions
+1
View File
@@ -632,6 +632,7 @@ bool VlRandomizer::parseSolution(std::iostream& os, bool log) {
if (m_randmodep && !varr.randModeIdxNone()) {
if (!m_randmodep->at(varr.randModeIdx())) continue;
}
if (m_disabledVars.count(name)) continue;
if (!indices.empty()) {
std::ostringstream oss;
oss << varr.name();