From 6890816bcf762feded0048e53e9d5db721f3df42 Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 14 May 2009 12:42:28 +0000 Subject: some wrong pointers casted to t_array instead of t_float svn path=/trunk/externals/iem/iem_tab/; revision=11356 --- src/tab_carth2polar.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/tab_carth2polar.c') diff --git a/src/tab_carth2polar.c b/src/tab_carth2polar.c index e70d2b8..9dccd68 100644 --- a/src/tab_carth2polar.c +++ b/src/tab_carth2polar.c @@ -96,8 +96,6 @@ static void tab_carth2polar_bang(t_tab_carth2polar *x) im = iemarray_getfloat(vec_src_im, i); mag = sqrt(re*re + im*im); arg = atan2(im, re) * rcp_two_pi; - vec_dst_mag[i] = mag; - vec_dst_arg[i] = arg; iemarray_setfloat(vec_dst_mag, i, mag); iemarray_setfloat(vec_dst_arg, i, arg); } -- cgit v1.2.1