mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
fixes
This commit is contained in:
parent
689c5b4e12
commit
c25fd71bf4
5 changed files with 44 additions and 35 deletions
|
@ -11,6 +11,7 @@ Author:
|
|||
|
||||
--*/
|
||||
#include "math/polysat/boolean.h"
|
||||
#include "math/polysat/clause.h"
|
||||
#include "math/polysat/log.h"
|
||||
|
||||
namespace polysat {
|
||||
|
@ -69,10 +70,10 @@ namespace polysat {
|
|||
|
||||
std::ostream& bool_var_manager::display(std::ostream& out) const {
|
||||
for (sat::bool_var v = 0; v < size(); ++v) {
|
||||
sat::literal lit{v};
|
||||
sat::literal lit(v);
|
||||
if (value(lit) == l_true)
|
||||
out << " " << lit;
|
||||
if (value(lit) == l_false)
|
||||
else if (value(lit) == l_false)
|
||||
out << " " << ~lit;
|
||||
}
|
||||
return out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue