gegl r2555 - branches/branch2_zhangjb/operations/frequency/tools
- From: zhangjb svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2555 - branches/branch2_zhangjb/operations/frequency/tools
- Date: Sat, 2 Aug 2008 07:58:50 +0000 (UTC)
Author: zhangjb
Date: Sat Aug 2 07:58:50 2008
New Revision: 2555
URL: http://svn.gnome.org/viewvc/gegl?rev=2555&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:58:50 2008
@@ -60,7 +60,7 @@
{
index = ELEM_ID_HALF_MATRIX(x, y, width);
Hi[index] = 0;
- Hr[index] = exp( -((double)(x+1)*(x+1)+(y+1)*(y+1))/(2*cutoff*cutoff) );
+ Hr[index] = exp( -((gdouble)(x+1)*(x+1)+(y+1)*(y+1))/(2*cutoff*cutoff) );
}
}
@@ -71,7 +71,7 @@
index = ELEM_ID_HALF_MATRIX(x, y, width);
Hi[index] = 0;
Hr[index] =
- exp(-((double)(x+1)*(x+1)+(y-height+1)*(y-height+1))/(2*cutoff*cutoff) );
+ exp(-((gdouble)(x+1)*(x+1)+(y-height+1)*(y-height+1))/(2*cutoff*cutoff) );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]