diff options
author | Hoang M. Le <hle@informatik.uni-bremen.de> | 2016-10-27 17:50:13 +0200 |
---|---|---|
committer | Hoang M. Le <hle@informatik.uni-bremen.de> | 2016-10-27 17:50:13 +0200 |
commit | 71214ea259ee62e3484b1ca6ff516a6c2a66fdc2 (patch) | |
tree | 4a924a1676a7e7a6038be9d5202d1fbd97d2ed04 /lib/Solver | |
parent | dac2e7ba3f12c839ae7c69aaec6626fcbe05e7e2 (diff) | |
download | klee-71214ea259ee62e3484b1ca6ff516a6c2a66fdc2.tar.gz |
update comments
Diffstat (limited to 'lib/Solver')
-rw-r--r-- | lib/Solver/MetaSMTSolver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Solver/MetaSMTSolver.cpp b/lib/Solver/MetaSMTSolver.cpp index 2dec1873..a34e26d0 100644 --- a/lib/Solver/MetaSMTSolver.cpp +++ b/lib/Solver/MetaSMTSolver.cpp @@ -281,6 +281,7 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked( ::alarm(std::max(1, (int)timeout)); } + // assert constraints as we are in a child process for (ConstraintManager::const_iterator it = query.constraints.begin(), ie = query.constraints.end(); it != ie; ++it) { @@ -288,9 +289,8 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked( // assumption(_meta_solver, _builder->construct(*it)); } - // assume the negation of the query - // can be also asserted instead of assumed as we are in a child process - assumption(_meta_solver, + // asssert the negation of the query as we are in a child process + assertion(_meta_solver, _builder->construct(Expr::createIsZero(query.expr))); unsigned res = solve(_meta_solver); |