]> Creatis software - clitk.git/blobdiff - common/clitkListOfPair.cxx
- move into filters
[clitk.git] / common / clitkListOfPair.cxx
index 25b254da32f30bae994c8405149d94d4b2656202..9b7bb77244cf81c3258a5df335d1ccad89e5da76 100644 (file)
@@ -34,7 +34,7 @@
 double clitk::convertValue(double v, 
                            const std::multimap<double, double> & conversionTable, 
                            bool linear) {
-  std::map<double, double>::const_iterator i;
+  std::multimap<double, double>::const_iterator i;
   i = conversionTable.lower_bound(v);  
   if (i == conversionTable.end()) {
     std::cerr << "The value " << v << " is out of the table" << std::endl;