mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
generation bug fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user