Enable Yosemite compilation 14/18314/2
Paul Bignier [Tue, 28 Jun 2016 10:36:56 +0000 (12:36 +0200)]
 * std::isnan coming from core_math.h wasn't properly read without the cmath include

Change-Id: I7a12045edec6bac19b669408151c879aeb80eb42

scilab/modules/elementary_functions/src/cpp/max.cpp
scilab/modules/elementary_functions/src/cpp/min.cpp

index 54e044e..ed2cde6 100644 (file)
@@ -13,6 +13,7 @@
  *
  */
 /*--------------------------------------------------------------------------*/
+#include <cmath>
 #include <algorithm>
 #include <vector>
 
index abf58cf..ec80dca 100644 (file)
@@ -13,6 +13,7 @@
  *
  */
 /*--------------------------------------------------------------------------*/
+#include <cmath>
 #include <algorithm>
 #include <vector>