comparison src/Modules/SSI/ModuleSSI.cc @ 52:e914b02b31b0

- Hacks to get a basic AIM-C compiling on windows
author tomwalters
date Thu, 22 Jul 2010 04:24:55 +0000
parents c5f5e9569863
children 47b009f2c936
comparison
equal deleted inserted replaced
51:978fb645eb0f 52:e914b02b31b0
24 #include <cmath> 24 #include <cmath>
25 25
26 #include "Modules/SSI/ModuleSSI.h" 26 #include "Modules/SSI/ModuleSSI.h"
27 27
28 namespace aimc { 28 namespace aimc {
29 #ifdef _MSC_VER
30 // MSVC doesn't define log2()
31 float log2(float n) {
32 return log(n) / log(2.0);
33 }
34 #endif
35
29 ModuleSSI::ModuleSSI(Parameters *params) : Module(params) { 36 ModuleSSI::ModuleSSI(Parameters *params) : Module(params) {
30 module_description_ = "Size-shape image (aka the 'sscAI')"; 37 module_description_ = "Size-shape image (aka the 'sscAI')";
31 module_identifier_ = "ssi"; 38 module_identifier_ = "ssi";
32 module_type_ = "ssi"; 39 module_type_ = "ssi";
33 module_version_ = "$Id$"; 40 module_version_ = "$Id$";