[locomotiv] Fix math.h to cmath (#6884)
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>
Fri, 23 Aug 2019 08:53:46 +0000 (17:53 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 23 Aug 2019 08:53:46 +0000 (17:53 +0900)
This commit will fix `<math.h>` to `<cmath>`

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
compiler/locomotiv/src/Node/Softmax.cpp
compiler/locomotiv/src/Node/Tanh.cpp

index 4093b98..8d1cc30 100644 (file)
@@ -34,7 +34,7 @@ using nncc::core::ADT::tensor::Shape;
 
 #include <cassert>
 #include <stdexcept>
-#include <math.h>
+#include <cmath>
 
 namespace
 {
index 9acaf92..6bb182f 100644 (file)
@@ -33,7 +33,7 @@ using nncc::core::ADT::tensor::make_buffer;
 
 #include <cassert>
 #include <stdexcept>
-#include <math.h>
+#include <cmath>
 
 namespace locomotiv
 {