Bug found in the Not GRC block

Hello

I’ve found a bug in the logical “Not” block of GRC as built from gr
3.2svn. I haven’t found the fix in the
change logs of 3.2.x, so here I report.
If it has been fixed in the meanwhile please ignore this mail.

The problem is
that the “Not” block comes with 2 inputs and does not accept less than 2
inputs. If one tries to set 1 input, the check
complains.
I have worked around by changing the related XML:

$GNURADIO_HOME/share/gnuradio/grc/platforms/python/blocks/gr_not_xx.xml

like this:

35c35
< 2

1
38c38
< $num_inputs >= 2

$num_inputs >= 1

Cheers
Alberto

Presentaci un amico! Invita i tuoi amici a scoprire i servizi Tiscali:
per ogni amico che attiverà un servizio Tiscali, potrai avere 20 euro di
sconto e lo stesso sconto di 20 euro verrà poi offerto al tuo amico.
Scopri come! http://abbonati.tiscali.it/promo/presentaciunamico/

Thank you for finding that. Its fixed in the trunk.

http://gnuradio.org/trac/changeset/11516

-Josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs