In tippy Eigen, in Visual Studio 2015 I get lots of warnings like these 2>c:\users\belli\documents\code\coolprop-v5-new\externals\eigen\eigen\src/Core/MathFunctionsImpl.h(36): warning C4305: 'argument': truncation from 'double' to 'const float' The offending lines seem to be of the type: const T alpha_1 = pset1<T>(4.89352455891786e-03);
Which in turn arrives from this warning: 2> c:\users\belli\documents\code\coolprop-v5-new\externals\eigen\eigen\src/Core/MathFunctions.h(1196): note: see reference to function template instantiation 'T Eigen::internal::generic_fast_tanh_float<float>(const T &)' being compiled 2> with 2> [ 2> T=float 2> ] caused by this function in MathFunctions.h #if (!defined(__CUDACC__)) && EIGEN_FAST_MATH EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float tanh(float x) { return internal::generic_fast_tanh_float(x); } #endif
Thank you for the report, fixed: https://bitbucket.org/eigen/eigen/commits/2feb669163
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1282.