use PrvGroup

This commit is contained in:
Tiago Gomes
2012-05-24 23:38:44 +01:00
parent af6601837c
commit 18d4777d9a
8 changed files with 69 additions and 65 deletions

View File

@@ -1,7 +1,7 @@
#include "ProbFormula.h"
int ProbFormula::freeGroup_ = 0;
PrvGroup ProbFormula::freeGroup_ = 0;
@@ -120,10 +120,11 @@ std::ostream& operator<< (ostream &os, const ProbFormula& f)
unsigned
PrvGroup
ProbFormula::getNewGroup (void)
{
freeGroup_ ++;
assert (freeGroup_ != numeric_limits<PrvGroup>::max());
return freeGroup_;
}