Changeset 8343
- Timestamp:
- 05/09/08 01:06:52
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc
r6044 r8343 1 1 /* -*- c++ -*- */ 2 2 /* 3 * Copyright 2004 Free Software Foundation, Inc.3 * Copyright 2004,2008 Free Software Foundation, Inc. 4 4 * 5 5 * This file is part of GNU Radio … … 52 52 const gr_complex *in = (const gr_complex *) input_items[0]; 53 53 float *out0 = (float *) output_items[0]; 54 float *out1 = (float *) output_items[1];54 float* out1; 55 55 int noi = noutput_items * d_vlen; 56 56 … … 63 63 64 64 case 2: 65 out1 = (float *) output_items[1]; 65 66 for (int i = 0; i < noi; i++){ 66 67 out0[i] = in[i].real ();
