mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -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,
|
(f,(cs,_)) <- funs c,
|
||||||
let alts = map (gener (i-1)) cs,
|
let alts = map (gener (i-1)) cs,
|
||||||
ts <- combinations alts,
|
ts <- combinations alts,
|
||||||
let tr = SApp (f, ts),
|
let tr = SApp (f, ts)
|
||||||
depth tr >= i
|
-- depth tr >= i -- NO!
|
||||||
]
|
]
|
||||||
|
|
||||||
allTrees = genAll i
|
allTrees = genAll i
|
||||||
|
|||||||
Reference in New Issue
Block a user