[Lme4-commits] r1656 - pkg/lme4Eigen/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Mar 15 19:53:13 CET 2012


Author: dmbates
Date: 2012-03-15 19:53:12 +0100 (Thu, 15 Mar 2012)
New Revision: 1656

Modified:
   pkg/lme4Eigen/src/glmFamily.cpp
Log:
Remove the std:: from nearbyint for the benefit of the Windows compiler


Modified: pkg/lme4Eigen/src/glmFamily.cpp
===================================================================
--- pkg/lme4Eigen/src/glmFamily.cpp	2012-03-15 18:32:40 UTC (rev 1655)
+++ pkg/lme4Eigen/src/glmFamily.cpp	2012-03-15 18:53:12 UTC (rev 1656)
@@ -60,7 +60,7 @@
 
     template<typename T>
     struct Round : public std::unary_function<T, T> {
-	const T operator()(const T& x) const {return std::nearbyint(x);}
+	const T operator()(const T& x) const {return nearbyint(x);}
     };
 
     template<typename T>



More information about the Lme4-commits mailing list