Skip to content

Commit 25b64fc

Browse files
committed
Fix the test error on windows
1 parent bb0b610 commit 25b64fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/unigram_model_test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ TEST(UnigramModelTest, SampleEncodeAndScoreTest) {
606606
EXPECT_NEAR(it.second, 1.0 * counts[it.first] / (kTrials * num_samples),
607607
0.02);
608608
// The expectation is quite loose, use a higher tolerance
609-
EXPECT_NEAR(1.0, scores[it.first] / kTrials, 0.20);
609+
EXPECT_NEAR(1.0, scores[it.first] / kTrials, 0.30);
610610
}
611611
}
612612
}

0 commit comments

Comments
 (0)