3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 19:05:51 +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

@ -246,8 +246,8 @@ public class Goal extends Z3Object
Goal(Context ctx, boolean models, boolean unsatCores, boolean proofs)
{
super(ctx, Native.mkGoal(ctx.nCtx(), (models) ? true : false,
(unsatCores) ? true : false, (proofs) ? true : false));
super(ctx, Native.mkGoal(ctx.nCtx(), (models),
(unsatCores), (proofs)));
}
void incRef(long o)