Mercurial > hg > aimc
diff src/Modules/Features/ModuleGaussians.cc @ 141:bbf4728ffa0e
Windows build fixes.
author | tomwalters |
---|---|
date | Tue, 02 Nov 2010 23:46:56 +0000 |
parents | 4abed4cf1e87 |
children | f03d4455b262 |
line wrap: on
line diff
--- a/src/Modules/Features/ModuleGaussians.cc Mon Nov 01 01:36:44 2010 +0000 +++ b/src/Modules/Features/ModuleGaussians.cc Tue Nov 02 23:46:56 2010 +0000 @@ -27,6 +27,10 @@ #include <math.h> +#ifdef _MSC_VER +#include <float.h> +#endif + #include "Modules/Features/ModuleGaussians.h" #include "Support/Common.h" @@ -120,7 +124,7 @@ } for (int ch = 0; ch < input.channel_count(); ++ch) { - m_pSpectralProfile[ch] = pow(m_pSpectralProfile[ch], 0.8); + m_pSpectralProfile[ch] = pow(m_pSpectralProfile[ch], 0.8f); } RubberGMMCore(2, true);