make gcc-5 on Ubuntu 16.04 happy (#10385)
gcc-5 complains of ambiguity and refuses to go when doing something like 'bazel build -c opt tensorflow/...'
This commit is contained in:
parent
359d6f9716
commit
07d39f28e5
@ -63,7 +63,7 @@ TEST(MfccTest, AvoidsNansWithZeroInput) {
|
||||
int expected_size = 13;
|
||||
ASSERT_EQ(expected_size, output.size());
|
||||
for (const double value : output) {
|
||||
EXPECT_FALSE(isnan(value));
|
||||
EXPECT_FALSE(std::isnan(value));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -215,7 +215,7 @@ TEST(CtcBeamSearch, AllBeamElementsHaveFiniteScores) {
|
||||
// Make sure all scores are finite.
|
||||
for (int path = 0; path < top_paths; ++path) {
|
||||
LOG(INFO) << "path " << path;
|
||||
EXPECT_FALSE(isinf(score[0][path]));
|
||||
EXPECT_FALSE(std::isinf(score[0][path]));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user