fix wbo parsing

This commit is contained in:
Laurent Perron
2025-04-16 23:09:12 +02:00
parent 6391391d6f
commit 6381d8d949

View File

@@ -138,6 +138,9 @@ class OpbReader {
return;
}
// We ignore the number of soft constraints.
if (words[0] == "soft:") return;
if (words[0] == "min:") {
for (int i = 1; i < words.size(); ++i) {
const std::string& word = words[i];