Qualify calls to some functions from <cmath>.

PiperOrigin-RevId: 239284814
This commit is contained in:
A. Unique TensorFlower 2019-03-19 15:39:56 -07:00 committed by TensorFlower Gardener
parent 8d20ee9c11
commit b9d1b351e5

View File

@ -94,7 +94,7 @@ TEST_F(ReferenceUtilTest, Reduce4Dto1DZeroSizedArray) {
}
TEST_F(ReferenceUtilTest, MapArray2D) {
auto identity = [](float value) { return log(std::exp(value)); };
auto identity = [](float value) { return std::log(std::exp(value)); };
auto result = ReferenceUtil::MapArray2D(*matrix_, identity);
auto actual_literal = LiteralUtil::CreateR2FromArray2D(*result);
LiteralTestUtil::ExpectR2NearArray2D(*matrix_, actual_literal,