degen: fix handling of degen-lcache=1
* spot/twaalgos/degen.cc: Here. * tests/core/degendet.test: Add test case. * tests/core/ltl2ta.test: Adjust expected output. * NEWS: Mention the issue.
This commit is contained in:
parent
488ef820d5
commit
205e2116d1
4 changed files with 38 additions and 20 deletions
|
|
@ -519,6 +519,8 @@ namespace spot
|
|||
lvl = std::max(lvl_cache[d.first].first, lvl);
|
||||
else if (use_lvl_cache == 2)
|
||||
lvl = std::min(lvl_cache[d.first].first, lvl);
|
||||
else
|
||||
lvl = lvl_cache[d.first].first; // Do not change
|
||||
}
|
||||
lvl_cache[d.first] = std::make_pair(lvl, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue