diff Meerwald/dwt.c @ 8:f83ef905a63d

fixing many warnings increase capacity for coordinates in bruyn fix some uninit. variables
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 22 Apr 2008 13:36:05 +0200
parents acb6967ee76d
children 1906e659edd0
line wrap: on
line diff
--- a/Meerwald/dwt.c	Wed Apr 16 15:55:52 2008 +0200
+++ b/Meerwald/dwt.c	Tue Apr 22 13:36:05 2008 +0200
@@ -278,7 +278,7 @@
     switch (which) {
         case FILTERG:
         case FILTERGi:
-          filter[k] = (double) (((i+1 & 0x01) * 2) - 1) * tf[i++];
+          filter[k] = (double) ((((i+1) & 0x01) * 2) - 1) * tf[i++];
           break;
         case FILTERH:
         case FILTERHi:
@@ -294,8 +294,6 @@
   return filterlength;
 }
 
-
-
 void dwt_param_filter(double alpha[], int param_len[]) {
   FilterGH filter;  
   int i;

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.