mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
bugfix for the reasoner in the C runtime
This commit is contained in:
@@ -68,8 +68,10 @@ pgf_reasoner_cat_init(PgfReasoner* rs,
|
||||
return false;
|
||||
}
|
||||
|
||||
PgfExprQState q = {cont, cont_prob, 0, abscat};
|
||||
gu_buf_heap_push(rs->pqueue, &pgf_expr_qstate_order, &q);
|
||||
if (abscat->n_functions > 0) {
|
||||
PgfExprQState q = {cont, cont_prob, 0, abscat};
|
||||
gu_buf_heap_push(rs->pqueue, &pgf_expr_qstate_order, &q);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user