patch-gnuradio
[Top][All Lists]
Advanced

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

Re: [Patch-gnuradio] [Fwd: Re: [Discuss-gnuradio] make check errors]


From: Eric Blossom
Subject: Re: [Patch-gnuradio] [Fwd: Re: [Discuss-gnuradio] make check errors]
Date: Tue, 11 Dec 2007 20:49:08 -0800
User-agent: Mutt/1.5.17 (2007-11-01)

Dan,

The reason it was backed out was that it has "make check" fail.
Johnathan didn't back it out because it wasn't right or wrong,
he backed it out because it causes "make check" to fail.

The fix can go back in when the QA code has been updated.  
The fix and the updated QA code should come as a single patch that.

Eric


On Tue, Dec 11, 2007 at 08:31:46PM -0800, Dan Halperin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Attached is a patch for gnuradio-core/src/lib/filter/gri_iir.h that
> includes a sanity check on the input. See the forwarded message.
> 
> I'm sure the error message could be better and instead of exit(0) an
> exception could be thrown or something -- if you would please clean it
> up for me I'll know how to do it correctly the next time :).
> 
> - -Dan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHX2Qyy9GYuuMoUJ4RAhmUAJ9SjZhk10kE2YgxZ9Dc9WA7485saQCfSLyY
> fR0zTFSDs7fcQ77u4GHLq+0=
> =apAh
> -----END PGP SIGNATURE-----

> --- gri_iir.h 2007-12-11 20:28:17.000000000 -0800
> +++ tmp       2007-12-11 20:27:17.000000000 -0800
> @@ -90,6 +90,11 @@
>                const std::vector<tap_type> &fbtaps) throw 
> (std::invalid_argument)
>    { 
>  
> +    if (fbtaps.size() > 0 && fbtaps[0] != 0)
> +    {
> +        fprintf(stderr, "Are you using fbtaps correctly? The first value 
> should always be zero!\n");
> +        exit(0);
> +    }
>  
>      d_latest_n = 0;
>      d_latest_m = 0;

> Date: Tue, 11 Dec 2007 20:16:25 -0800
> From: Dan Halperin <address@hidden>
> Subject: Re: [Discuss-gnuradio] make check errors
> To: Johnathan Corgan <address@hidden>
> Cc: gnuradio mailing list <address@hidden>
> Sender: address@hidden
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Johnathan Corgan wrote:
> > On 12/11/07, Johnathan Corgan <address@hidden> wrote:
> > 
> >> I see this as well now.  It can be attributed to a check-in on the trunk
> >> 2 days ago that Martin did to fix an iir bug (r7089).  I suspect the iir
> >> QA needs to be updated.
> > 
> > The changeset for r7089 has been reverted on the trunk.
> 
> I looked through that code and the formulas in the header file and did
> the QA by hand and it seems that the reverted version is/was correct.
> Perhaps there was an error forgetting to prepend a 0 into the fb_taps
> that made someone think there was a bug?
> 
> - -Dan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHX2CZy9GYuuMoUJ4RAjKgAJ4l5cQ6B8vJUqyEbuMvZhfoQZRbSQCdFJTG
> QiFBO/PjvRX1y96QvGT43Vs=
> =x9HD
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

> _______________________________________________
> Patch-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/patch-gnuradio





reply via email to

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