From: trevor_hansen Date: Fri, 29 Apr 2011 05:57:36 +0000 (+0000) Subject: Bugfix. Reads might have been simplified down which was causing an assertion error. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=211c45cabff9db88802fd6dd86cd56c332a00053;p=francis%2Fstp.git Bugfix. Reads might have been simplified down which was causing an assertion error. Thanks for Yunho Kim for reporting this! git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1288 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/AST/ArrayTransformer.cpp b/src/AST/ArrayTransformer.cpp index 4a8a3ba..d0ca998 100644 --- a/src/AST/ArrayTransformer.cpp +++ b/src/AST/ArrayTransformer.cpp @@ -485,8 +485,7 @@ namespace BEEV const unsigned int width = term.GetValueWidth(); if (READ != term.GetKind()) - FatalError("TransformArray: input term is of wrong kind: ", - ASTUndefined); + return term; ASTNodeMap::const_iterator iter; if ((iter = TransformMap->find(term)) != TransformMap->end())