Skip to content
Commit e3e8993e authored by Christoph Schwering's avatar Christoph Schwering
Browse files

Fixed: Formula::Flatten() handled positive literals like definitions.

Formula::Flatten() manages a term-to-var map to avoid unnecessarily
new variables. The map is initialized with all variables that are 'set'
in the clause already. That is, every literal (f(...) != x) boils down
to an entry that maps f(...) to x.
The bug was that this entry was also made for (f(...) == x) literals.
parent 29e6d625
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment