prefix is better than postfix

This commit is contained in:
Tiago Gomes
2012-05-28 14:12:18 +01:00
parent a9c369aac1
commit 250d122fc8
8 changed files with 19 additions and 19 deletions

View File

@@ -784,7 +784,7 @@ FoveSolver::runSolver (const Grounds& query)
assert (pfList_.size() > 0);
if (pfList_.size() > 1) {
ParfactorList::iterator pfIter = pfList_.begin();
pfIter ++;
++ pfIter;
while (pfIter != pfList_.end()) {
(*pfList_.begin())->multiply (**pfIter);
++ pfIter;