mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
Logic simplifications
There is no point in writing "boolean ? true : false" instead of "boolean"
This commit is contained in:
parent
52fdf73178
commit
a816b4895c
7 changed files with 21 additions and 22 deletions
|
@ -29,7 +29,7 @@ public class Params extends Z3Object
|
|||
public void add(Symbol name, boolean value)
|
||||
{
|
||||
Native.paramsSetBool(getContext().nCtx(), getNativeObject(),
|
||||
name.getNativeObject(), (value) ? true : false);
|
||||
name.getNativeObject(), (value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue