Created
October 24, 2012 12:05
-
-
Save rnestler/3945715 to your computer and use it in GitHub Desktop.
PCL cygwin patches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/cpp/flann/algorithms/dist.h | |
+++ src/cpp/flann/algorithms/dist.h | |
@@ -60,7 +60,7 @@ | |
inline double abs<double>(double x) { return fabs(x); } | |
template<> | |
-inline long double abs<long double>(long double x) { return fabsl(x); } | |
+inline long double abs<long double>(long double x) { return fabs(x); } | |
template<typename T> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- common/include/pcl/common/eigen.h | |
+++ common/include/pcl/common/eigen.h | |
@@ -112,7 +112,7 @@ | |
template<> inline long double | |
sqrt<long double> (const long double &val) | |
{ | |
- return (::sqrt (val)); | |
+ return (::sqrtl (val)); | |
} | |
/** \brief Compute the roots of a quadratic polynom x^2 + b*x + c = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment