diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-08-03 16:02:25 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-08-03 16:02:25 +0100 |
commit | c91a035e51d2023133d4767eeb99bb8931710876 (patch) | |
tree | d5feba00f941463533fced36cc53227fd4241e2a /include | |
parent | 26f485384e2409096d3fe54baff4b348cf08d2cf (diff) | |
parent | be37ac9605d380b7f36717338c2c520f375798c8 (diff) | |
download | klee-c91a035e51d2023133d4767eeb99bb8931710876.tar.gz |
Merge pull request #198 from holycrap872/IndependentSolverGetInitialValues
New version of the get initial values functionality which makes use of the independent solver.
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/util/Assignment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/klee/util/Assignment.h b/include/klee/util/Assignment.h index 63df4b65..6fee5cb1 100644 --- a/include/klee/util/Assignment.h +++ b/include/klee/util/Assignment.h @@ -29,13 +29,13 @@ namespace klee { public: Assignment(bool _allowFreeValues=false) : allowFreeValues(_allowFreeValues) {} - Assignment(std::vector<const Array*> &objects, + Assignment(const std::vector<const Array*> &objects, std::vector< std::vector<unsigned char> > &values, bool _allowFreeValues=false) : allowFreeValues(_allowFreeValues){ std::vector< std::vector<unsigned char> >::iterator valIt = values.begin(); - for (std::vector<const Array*>::iterator it = objects.begin(), + for (std::vector<const Array*>::const_iterator it = objects.begin(), ie = objects.end(); it != ie; ++it) { const Array *os = *it; std::vector<unsigned char> &arr = *valIt; |