Skip to content

Commit 84a5ed9

Browse files
authored
Cherry-pick-29260, change import math.h to cmath (#29260) (#31212)
ATT,cherry pick PR #29260
1 parent d3e6095 commit 84a5ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/memory/allocation/best_fit_allocator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
#include "paddle/fluid/memory/allocation/best_fit_allocator.h"
16-
#include <math.h>
16+
#include <cmath>
1717

1818
namespace paddle {
1919
namespace memory {

0 commit comments

Comments
 (0)