pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/gnuradio-core/patches Added patch-ag that fixes a ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/760ff2489423
branches: trunk
changeset: 522038:760ff2489423
user: wulf <wulf%pkgsrc.org@localhost>
date: Fri Dec 01 09:28:41 2006 +0000
description:
Added patch-ag that fixes a bug in gr.firdes.band_reject() function
diffstat:
ham/gnuradio-core/patches/patch-ag | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 8e6d81dcbb36 -r 760ff2489423 ham/gnuradio-core/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/gnuradio-core/patches/patch-ag Fri Dec 01 09:28:41 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2006/12/01 09:28:41 wulf Exp $
+
+--- gnuradio-core/src/lib/general/gr_firdes.cc.orig 2006-12-01 12:50:37.000000000 +1030
++++ gnuradio-core/src/lib/general/gr_firdes.cc 2006-12-01 12:52:01.000000000 +1030
+@@ -272,7 +272,7 @@
+
+ for (int n = -M; n <= M; n++){
+ if (n == 0)
+- taps[n + M] = (1.0 + (fwT0 - fwT1)) / M_PI * w[n + M];
++ taps[n + M] = 1.0 + ((fwT0 - fwT1) / M_PI * w[n + M]);
+ else {
+ taps[n + M] = (sin (n * fwT0) - sin (n * fwT1)) / (n * M_PI) * w[n + M];
+ }
Home |
Main Index |
Thread Index |
Old Index