From d1c6bfd6be36b534d5651e5248dfbd3bd0ef9330 Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Thu, 23 Jul 2009 14:03:09 +0000 Subject: [PATCH] Fix for: "array_simple_broken.smt" values were incorrectly cached. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@86 e59a4935-1847-0410-ae03-e826735625c1 --- simplifier/simplifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simplifier/simplifier.cpp b/simplifier/simplifier.cpp index b984687..d1406a5 100644 --- a/simplifier/simplifier.cpp +++ b/simplifier/simplifier.cpp @@ -131,7 +131,7 @@ namespace BEEV { ) return 1; - if(SYMBOL == k1) + if(SYMBOL == k1 && (BVCONST == k2 || TRUE == k2 || FALSE == k2)) return 1; //b is of the form READ(Arr,const), and a is const, or @@ -146,7 +146,7 @@ namespace BEEV { )) return -1; - if(SYMBOL == k2) + if(SYMBOL == k2 && (BVCONST == k1 || TRUE == k1 || FALSE == k1)) return -1; return 0; -- 2.47.3