generation bug fix

This commit is contained in:
aarne
2007-08-26 07:56:46 +00:00
parent 217f485491
commit 419f9bf5e1

View File

@@ -83,8 +83,8 @@ generate gr opts cat i mn mt = case mt of
(f,(cs,_)) <- funs c,
let alts = map (gener (i-1)) cs,
ts <- combinations alts,
let tr = SApp (f, ts),
depth tr >= i
let tr = SApp (f, ts)
-- depth tr >= i -- NO!
]
allTrees = genAll i