make AppVeyor work again

This commit is contained in:
bergwerkgis
2016-03-31 09:29:54 +00:00
committed by Patrick Niklaus
parent 0d291cb68e
commit d0636a9f6d
7 changed files with 56 additions and 12 deletions
+5
View File
@@ -358,7 +358,12 @@ constexpr unsigned short atan_table[4096] = {
0xffe0, 0xffea, 0xfff4, 0xffff};
// max value is pi/4
#ifdef _MSC_VER //TODO: remove as soon as boost allows C++14 features with Visual Studio
const constexpr double SCALING_FACTOR = 4. / M_PI * 0xFFFF;
#else
const constexpr double SCALING_FACTOR = 4. / boost::math::constants::pi<double>() * 0xFFFF;
#endif
inline double atan2_lookup(double y, double x)
{