aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util/ctc/ctc_beam_search_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/util/ctc/ctc_beam_search_test.cc')
-rw-r--r--tensorflow/core/util/ctc/ctc_beam_search_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/ctc/ctc_beam_search_test.cc b/tensorflow/core/util/ctc/ctc_beam_search_test.cc
index 217c7ce1f6..b2d5ef56ad 100644
--- a/tensorflow/core/util/ctc/ctc_beam_search_test.cc
+++ b/tensorflow/core/util/ctc/ctc_beam_search_test.cc
@@ -217,7 +217,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]));
}
}