diff --git a/src/runtime/c/pgf/pgf.cxx b/src/runtime/c/pgf/pgf.cxx index a6b228810..0a6af1cd0 100644 --- a/src/runtime/c/pgf/pgf.cxx +++ b/src/runtime/c/pgf/pgf.cxx @@ -361,7 +361,7 @@ prob_t pgf_category_prob(PgfDB *db, PgfRevision revision, ref abscat = namespace_lookup(pgf->abstract.cats, catname); if (abscat == 0) { - return 0; + return INFINITY; } return abscat->prob;