From 8ecff9e5ee3323db1ccfc831c03bba92c7db7a06 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Thu, 3 May 2018 08:04:10 -0700 Subject: [PATCH] fix java Signed-off-by: Nikolaj Bjorner --- examples/java/JavaExample.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/java/JavaExample.java b/examples/java/JavaExample.java index d4d8bb1ac..d085b3b72 100644 --- a/examples/java/JavaExample.java +++ b/examples/java/JavaExample.java @@ -344,8 +344,6 @@ class JavaExample Status q = s.check(); System.out.println("Solver says: " + q); System.out.println("Model: \n" + s.getModel()); - System.out.println("Converted Model: \n" - + ar.convertModel(0, s.getModel())); if (q != Status.SATISFIABLE) throw new TestFailedException(); } @@ -1041,7 +1039,7 @@ class JavaExample HashMap cfg = new HashMap(); cfg.put("model", "true"); Context ctx = new Context(cfg); - Expr a = ctx.MkAnd(ctx.parseSMTLIB2File(filename, null, null, null, null)); + Expr a = ctx.mkAnd(ctx.parseSMTLIB2File(filename, null, null, null, null)); long t_diff = ((new Date()).getTime() - before.getTime()) / 1000;