Skip to content

Commit

Permalink
Fix fsa_from_str (#1287)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool committed May 17, 2024
1 parent a5cef5d commit 43fe727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k2/csrc/fsa_utils.cu
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ static Fsa K2FsaFromStream(std::istringstream &is,
<< ": src-state < 0 or dest-state < 0.";
}
for (int32_t i = 0; i < num_aux_labels; i++) {
float aux;
double aux;
line_is >> aux;
if ((int32_t)aux != aux) {
K2_LOG(FATAL) << "Invalid line " << line
Expand Down

0 comments on commit 43fe727

Please sign in to comment.