From e3607a46082dae19ccf03b427f4bd8b65da13432 Mon Sep 17 00:00:00 2001 From: manojgudi Date: Wed, 26 Feb 2014 14:53:39 +0530 Subject: Fix for gr-input: Make output a list_Type --- gr-input/python/gr_ramp_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gr-input/python/gr_ramp_source.py b/gr-input/python/gr_ramp_source.py index 687ffb957..574f9f70b 100644 --- a/gr-input/python/gr_ramp_source.py +++ b/gr-input/python/gr_ramp_source.py @@ -21,7 +21,7 @@ class ramp(gras.Block): def work(self, input_items, output_items): - out = output_items[0][0] + out = output_items[0][0:1] input_stream = input_items[0][0] if self.flag: @@ -37,7 +37,7 @@ class ramp(gras.Block): else: self.i = self.i + 1 - out =self.offset + self.i*input_stream*self.slope + out[:1] =self.offset + self.i*input_stream*self.slope print "OUT", out -- cgit