]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commitdiff
Bugfix. Reads might have been simplified down which was causing an assertion error.
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 29 Apr 2011 05:57:36 +0000 (05:57 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 29 Apr 2011 05:57:36 +0000 (05:57 +0000)
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

src/AST/ArrayTransformer.cpp

index 4a8a3bacf92caebf9e0ffe9cdb140fc1e3fb7df0..d0ca998f2bf79c481cc55098dae97eb23742f209 100644 (file)
@@ -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())