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

@@ -559,7 +559,7 @@ void
ParfactorList::updateGroups (PrvGroup oldGroup, PrvGroup newGroup)
{
for (ParfactorList::iterator it = pfList_.begin();
it != pfList_.end(); it++) {
it != pfList_.end(); ++it) {
ProbFormulas& formulas = (*it)->arguments();
for (size_t i = 0; i < formulas.size(); i++) {
if (formulas[i].group() == oldGroup) {