Closed rkaminsk closed 2 years ago
Thanks @rkaminsk!
I added a SharedContext::unmark(Literal)
(varInfo()
returns the info by value and therefore can't be used to unset the stored flag).
Thanks @rkaminsk! I added a
SharedContext::unmark(Literal)
(varInfo()
returns the info by value and therefore can't be used to unset the stored flag).
Oops, should have paid more attention. Thanks for fixing this!
For the program
with assumptions
a
andb
, cores are not reported correctly.The reason seems to be the
LogicProgram::extractCore
function. It correctly marks literals by sign but unmarks variables (unmarking both the positive and negative sign). As far as I can see the following patch should fix the problem:Does that fix the problem? Should there maybe an unmark function for literals?