[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8343 - gnuradio/branches/releases/3.1/gnuradio-core/s
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r8343 - gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general |
Date: |
Fri, 9 May 2008 01:06:53 -0600 (MDT) |
Author: jcorgan
Date: 2008-05-09 01:06:52 -0600 (Fri, 09 May 2008)
New Revision: 8343
Modified:
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc
Log:
Applied changeset r8296 on trunk to release branch.
Modified:
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc
===================================================================
---
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc
2008-05-09 07:04:20 UTC (rev 8342)
+++
gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc
2008-05-09 07:06:52 UTC (rev 8343)
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2004 Free Software Foundation, Inc.
+ * Copyright 2004,2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -51,7 +51,7 @@
{
const gr_complex *in = (const gr_complex *) input_items[0];
float *out0 = (float *) output_items[0];
- float *out1 = (float *) output_items[1];
+ float* out1;
int noi = noutput_items * d_vlen;
switch (output_items.size ()){
@@ -62,6 +62,7 @@
break;
case 2:
+ out1 = (float *) output_items[1];
for (int i = 0; i < noi; i++){
out0[i] = in[i].real ();
out1[i] = in[i].imag ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8343 - gnuradio/branches/releases/3.1/gnuradio-core/src/lib/general,
jcorgan <=