use prob_t instead of float in a few places

This commit is contained in:
kr.angelov
2012-10-29 08:52:56 +00:00
parent 377ce1732d
commit c679b08b38

View File

@@ -925,7 +925,7 @@ pgf_load_meta_child_probs(PgfPGF* pgf, const char* fpath, GuPool* pool)
for (;;) { for (;;) {
char cat1_s[21]; char cat1_s[21];
char cat2_s[21]; char cat2_s[21];
float prob; prob_t prob;
if (fscanf(fp, "%20s\t%20s\t%f", cat1_s, cat2_s, &prob) < 3) if (fscanf(fp, "%20s\t%20s\t%f", cat1_s, cat2_s, &prob) < 3)
break; break;
@@ -953,7 +953,7 @@ pgf_load_meta_child_probs(PgfPGF* pgf, const char* fpath, GuPool* pool)
gu_map_type_new(PgfMetaChildMap, pool); gu_map_type_new(PgfMetaChildMap, pool);
} }
gu_map_put(abscat1->meta_child_probs, abscat2, float, prob); gu_map_put(abscat1->meta_child_probs, abscat2, prob_t, prob);
} }
} }