discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] x86_64 gr_feval problem


From: David P. Reed
Subject: Re: [Discuss-gnuradio] x86_64 gr_feval problem
Date: Wed, 22 Nov 2006 10:53:21 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.8) Gecko/20061107 Fedora/1.5.0.8-1.fc6 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0

Eric - here is the simplest test I can give, it fails by printing "Fired = false" and nothing else.
from gnuradio import gr, gr_unittest

class my_feval(gr.feval):
    def __init__(self):
        gr.feval.__init__(self)
        self.fired = False
    def eval(self):
        print "firing"
        self.fired = True

if __name__ == '__main__':
    f = my_feval()
    gr.feval_example(f)
    print "fired = "+`f.fired`

reply via email to

[Prev in Thread] Current Thread [Next in Thread]