3
0
Fork 0
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:
George Karpenkov 2016-01-06 11:16:30 +01:00
parent 52fdf73178
commit a816b4895c
7 changed files with 21 additions and 22 deletions

View file

@ -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));
}
/**