Skip to content

Commit 4866c21

Browse files
author
kroening
committed
compilation
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@1053 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
1 parent 1009ce7 commit 4866c21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/solvers/sat/satcheck_minisat2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Function: convert
3838
void convert(const bvt &bv, Minisat::vec<Minisat::Lit> &dest)
3939
{
4040
dest.growTo(bv.size());
41-
42-
forall_literals(it, bv)
43-
dest[it-bv.begin()]=Minisat::mkLit(it->var_no(), it->sign());
41+
42+
for(unsigned i=0; i<bv.size(); i++)
43+
dest[i]=Minisat::mkLit(bv[i].var_no(), bv[i].sign());
4444
}
4545

4646
/*******************************************************************\

0 commit comments

Comments
 (0)