From 9f2a236873cb353c143f068f5b3ab259dd045377 Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Fri, 14 Jan 2011 23:35:48 +0000 Subject: [PATCH] Bugfix. Running with -t would fail if the shortcut was taken. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1064 e59a4935-1847-0410-ae03-e826735625c1 --- src/simplifier/bvsolver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/simplifier/bvsolver.cpp b/src/simplifier/bvsolver.cpp index b151e79..51325ff 100644 --- a/src/simplifier/bvsolver.cpp +++ b/src/simplifier/bvsolver.cpp @@ -742,8 +742,10 @@ namespace BEEV ASTNode aaa = (any_solved && EQ == it->GetKind()) ? _simp->SimplifyFormula(_simp->applySubstitutionMapUntilArrays(*it),false,NULL) : *it; if (ASTFalse == aaa) + { + _bm->GetRunTimes()->stop(RunTimes::BVSolver); return ASTFalse; // shortcut. It's unsatisfiable. - + } aaa = BVSolve_Odd(aaa); bool even = false; -- 2.47.3