about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/klee/Expr.h1
-rw-r--r--include/klee/Solver.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/klee/Expr.h b/include/klee/Expr.h
index 6e55cdd3..fe6388de 100644
--- a/include/klee/Expr.h
+++ b/include/klee/Expr.h
@@ -221,7 +221,6 @@ public:
 
   /* Utility creation functions */
   static ref<Expr> createCoerceToPointerType(ref<Expr> e);
-  static ref<Expr> createNot(ref<Expr> e);
   static ref<Expr> createImplies(ref<Expr> hyp, ref<Expr> conc);
   static ref<Expr> createIsZero(ref<Expr> e);
 
diff --git a/include/klee/Solver.h b/include/klee/Solver.h
index f1e18f12..dc787ad6 100644
--- a/include/klee/Solver.h
+++ b/include/klee/Solver.h
@@ -40,7 +40,7 @@ namespace klee {
 
     /// negateExpr - Return a copy of the query with the expression negated.
     Query negateExpr() const {
-      return withExpr(Expr::createNot(expr));
+      return withExpr(Expr::createIsZero(expr));
     }
   };