Add brackets to resolve ambiguity caused by use of bitwise instead of logical operators

This commit is contained in:
Nathan Phillips 2017-05-16 17:38:32 +01:00
parent 31cba6bb2a
commit f0924454e9
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ void test1()
mini_bddt x=mgr.Var("x");
mini_bddt y=mgr.Var("y");
mini_bddt z=mgr.Var("z");
mini_bddt f=(x&y&z)|(!x&!y&z);
mini_bddt f=(x&y&z)|((!x)&(!y)&z);
y.clear();
x.clear();
z.clear();