r3994 - trunk/bse



Author: timj
Date: 2006-10-20 22:03:19 -0400 (Fri, 20 Oct 2006)
New Revision: 3994

Modified:
   trunk/bse/bseellipticfilter.c
Log:
some comments


Modified: trunk/bse/bseellipticfilter.c
===================================================================
--- trunk/bse/bseellipticfilter.c	2006-10-21 01:51:14 UTC (rev 3993)
+++ trunk/bse/bseellipticfilter.c	2006-10-21 02:03:19 UTC (rev 3994)
@@ -1405,12 +1405,12 @@
 {
   double a, b, r, f, g, g0;
   
-  if (y > 1.0e-16)
+  if (y > 1.0e-16)      /* check for imaginary pole/zero */
     {
       a = -2.0 * x;
       b = x * x + y * y;
     }
-  else
+  else                  /* real valued pole/zero */
     {
       a = -x;
       b = 0.0;




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]