gegl r2554 - branches/branch2_zhangjb/operations/frequency/tools



Author: zhangjb
Date: Sat Aug  2 07:55:56 2008
New Revision: 2554
URL: http://svn.gnome.org/viewvc/gegl?rev=2554&view=rev

Log:


Modified:
   branches/branch2_zhangjb/operations/frequency/tools/filters.c

Modified: branches/branch2_zhangjb/operations/frequency/tools/filters.c
==============================================================================
--- branches/branch2_zhangjb/operations/frequency/tools/filters.c	(original)
+++ branches/branch2_zhangjb/operations/frequency/tools/filters.c	Sat Aug  2 07:55:56 2008
@@ -33,8 +33,8 @@
   gint x, y;
   gdouble Yr,Yi;
   gint index;
-  gint max_x = FFT_HALF(x);
-  
+  gint max_x = FFT_HALF(width);
+
   for(y=0;y<height;y++)
     for(x=0;x<max_x;x++)
       {
@@ -44,7 +44,7 @@
         Xr[index] = Yr;
         Xi[index] = Yi;
       }
-  return TRUE;
+    return TRUE;
 }
 
 gboolean



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