fix showing the weights on edge labels when there is a SetOrNode ancestor

This commit is contained in:
Tiago Gomes
2012-12-09 17:33:36 +00:00
parent 59f653aabd
commit 57a31c2c36
2 changed files with 14 additions and 2 deletions

View File

@@ -75,9 +75,11 @@ class SetOrNode : public CircuitNode
CircuitNode** follow (void) { return &follow_; }
static unsigned nrPositives (void) { return nrGrsStack.top().first; }
static unsigned nrPositives (void) { return nrGrsStack.top().first; }
static unsigned nrNegatives (void) { return nrGrsStack.top().second; }
static bool isSet (void) { return nrGrsStack.size() > 0; }
double weight (void) const;