Browse Source

Tentative of fixing bug #13, nextafter on Intel compiler

Christophe Riccio 13 years ago
parent
commit
7e0288359f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      glm/gtc/matrix_access.hpp
  2. 1 1
      glm/gtc/ulp.inl

+ 1 - 1
glm/gtc/matrix_access.hpp

@@ -58,7 +58,7 @@ namespace glm
 
 
 	/// Set a specific row to a matrix.
 	/// Set a specific row to a matrix.
 	/// @see gtc_matrix_access
 	/// @see gtc_matrix_access
-    template <typename genType> 
+	template <typename genType> 
 	genType row(
 	genType row(
 		genType const & m, 
 		genType const & m, 
 		int index, 
 		int index, 

+ 1 - 1
glm/gtc/ulp.inl

@@ -188,7 +188,7 @@ namespace detail
 
 
 #pragma warning(pop)
 #pragma warning(pop)
 
 
-#if(GLM_COMPILER & GLM_COMPILER_VC || GLM_COMPILER & GLM_COMPILER_INTEL)
+#if(GLM_COMPILER & GLM_COMPILER_VC)
 #	define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
 #	define GLM_NEXT_AFTER_FLT(x, toward) glm::detail::nextafterf((x), (toward))
 #   define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
 #   define GLM_NEXT_AFTER_DBL(x, toward) _nextafter((x), (toward))
 #else
 #else