}
public String toString() { return "[reduce " + position + "]"; }
- public Forest reduce(GSS.Phase.Node parent, GSS.Phase.Node onlychild, Forest rex) {
- Forest ret = reduce(parent, numPop-1, rex, onlychild, parent.phase());
+ public Forest reduce(GSS.Phase.Node parent) {
+ Forest rex = numPop==0 ? zero() : null;
+ Forest ret = reduce(parent, numPop-1, rex, null, parent.phase());
return ret;
}