about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorDan Liew <delcypher@gmail.com>2014-04-24 20:36:29 +0100
committerDan Liew <delcypher@gmail.com>2014-04-24 20:36:29 +0100
commitd10513097420196493b4a408c6cf75cbd53b8351 (patch)
tree119ab89d91a9ba844a4feb9c5b3883da08a159a4 /lib
parent7ce1eed6334be42dae30435acfae4f98f6ac3950 (diff)
parentf9550d663fb40cdb747108c6ba92262d9661ba56 (diff)
downloadklee-d10513097420196493b4a408c6cf75cbd53b8351.tar.gz
Merge pull request #122 from hpalikareva/metasmt-array-order
Fixed order of domain and range in array creation in MetaSMTBuilder.
Diffstat (limited to 'lib')
-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) {