changeset 262:524bcd89743b sv1-v1.0

* Updated Russian translation from Alexandre Prokoudine
author Chris Cannam
date Thu, 10 May 2007 12:48:26 +0000
parents 2fc6f3829f04
children 71dfc6ab3b54
files base/Window.h plugin/FeatureExtractionPluginFactory.cpp
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/base/Window.h	Mon Apr 30 14:52:24 2007 +0000
+++ b/base/Window.h	Thu May 10 12:48:26 2007 +0000
@@ -153,9 +153,9 @@
     int n = int(m_size);
     for (int i = 0; i < n; ++i) {
         mult[i] *= (a0
-                    - a1 * cos(2 * M_PI * i / n)
-                    + a2 * cos(4 * M_PI * i / n)
-                    - a3 * cos(6 * M_PI * i / n));
+                    - a1 * cos((2 * M_PI * i) / n)
+                    + a2 * cos((4 * M_PI * i) / n)
+                    - a3 * cos((6 * M_PI * i) / n));
     }
 }
 
--- a/plugin/FeatureExtractionPluginFactory.cpp	Mon Apr 30 14:52:24 2007 +0000
+++ b/plugin/FeatureExtractionPluginFactory.cpp	Thu May 10 12:48:26 2007 +0000
@@ -222,7 +222,7 @@
 
 #ifdef DEBUG_PLUGIN_SCAN_AND_INSTANTIATE
                 std::cerr << "FeatureExtractionPluginFactory::findPluginFile: "
-                          << "found at " << file.toStdString() << std::endl;
+                          << "found \"" << soname.toStdString() << "\" at " << file.toStdString() << std::endl;
 #endif
 
                 return file;