diff trunk/src/Modules/BMM/ModuleGammatone.cc @ 289:6cf55200a199

-Added basic support for unit tests using gtest -Updated lint scripts to exclude header guard problems -Made everything lint-friendly -Added a trivial script to build the Doxygen documentation
author tomwalters
date Sat, 20 Feb 2010 21:03:57 +0000
parents 34993448961f
children e344ef4898b2
line wrap: on
line diff
--- a/trunk/src/Modules/BMM/ModuleGammatone.cc	Sat Feb 20 17:56:40 2010 +0000
+++ b/trunk/src/Modules/BMM/ModuleGammatone.cc	Sat Feb 20 21:03:57 2010 +0000
@@ -148,7 +148,7 @@
                        * sin(2.0f * cf * M_PI * dt) / exp(b * dt)) / 2.0f;
     double B14 = -(2.0f * dt * cos(2.0f * cf * M_PI * dt) / exp(b * dt)
                    - 2.0f * sqrt(3 - pow(2.0f, 1.5f)) * dt
-                       * sin(2.0f * cf * M_PI * dt) / exp(b * dt)) / 2.0f;;
+                       * sin(2.0f * cf * M_PI * dt) / exp(b * dt)) / 2.0f;
 
     a_[ch][0] = 1.0f;
     a_[ch][1] = -2.0f * cos(2.0f * cf * M_PI * dt) / exp(b * dt);
@@ -165,7 +165,6 @@
     b4_[ch][0] = B0;
     b4_[ch][1] = B14;
     b4_[ch][2] = B2;
-
   }
   return true;
 }