Johannes Ruehle преди 11 години
родител
ревизия
67352e83d6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/basics/numerictools.h

+ 1 - 1
core/basics/numerictools.h

@@ -246,7 +246,7 @@ inline bool isFinite(double x)
 	#else
 		NICE_ERROR("isFinite() not defined (and neither is boost found for compensation...)")
 	#endif
-#if (__GNUC__ > 3)
+#elif (__GNUC__ > 3)
   return std::isnan(x);
 #else
 	return finite(x);