diff options
Diffstat (limited to 'src/runtime/c/pgf/data.h')
| -rw-r--r-- | src/runtime/c/pgf/data.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h index 552613c55..a8b4d8f53 100644 --- a/src/runtime/c/pgf/data.h +++ b/src/runtime/c/pgf/data.h @@ -123,8 +123,10 @@ struct PgfPGF { extern GU_DECLARE_TYPE(PgfPGF, struct); +typedef float prob_t; + typedef struct { - float prob; + prob_t prob; PgfExpr expr; } PgfExprProb; @@ -151,8 +153,8 @@ struct PgfCat { PgfCId name; PgfHypos context; - float meta_prob; - float meta_token_prob; + prob_t meta_prob; + prob_t meta_token_prob; PgfMetaChildMap* meta_child_probs; GuLength n_functions; |
