about summary refs log tree commit diff homepage
path: root/lib/Solver
diff options
context:
space:
mode:
authorHristina Palikareva <h.palikareva@imperial.ac.uk>2014-04-24 17:58:38 +0100
committerHristina Palikareva <h.palikareva@imperial.ac.uk>2014-04-24 17:58:38 +0100
commitf9550d663fb40cdb747108c6ba92262d9661ba56 (patch)
tree119ab89d91a9ba844a4feb9c5b3883da08a159a4 /lib/Solver
parent7ce1eed6334be42dae30435acfae4f98f6ac3950 (diff)
downloadklee-f9550d663fb40cdb747108c6ba92262d9661ba56.tar.gz
Fixed order of domain and range in array creation in MetaSMTBuilder.
Diffstat (limited to 'lib/Solver')
-rw-r--r--lib/Solver/MetaSMTBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Solver/MetaSMTBuilder.h b/lib/Solver/MetaSMTBuilder.h
index deb12e77..f1e55614 100644
--- a/lib/Solver/MetaSMTBuilder.h
+++ b/lib/Solver/MetaSMTBuilder.h
@@ -187,7 +187,7 @@ typename SolverContext::result_type MetaSMTBuilder<SolverContext>::getInitialArr
 
     if (!hashed) {
 
-        array_expr = evaluate(_solver, buildArray(root->getDomain(), root->getRange()));
+        array_expr = evaluate(_solver, buildArray(root->getRange(), root->getDomain()));
 
         if (root->isConstantArray()) {    
             for (unsigned i = 0, e = root->size; i != e; ++i) {