commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 04/11: gru: Fixes an obsolete numpy functio


From: git
Subject: [Commit-gnuradio] [gnuradio] 04/11: gru: Fixes an obsolete numpy function call.
Date: Sun, 17 Jan 2016 18:02:47 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 688ca0d1749d6dcfe6a24bfa13a6d5bb2ceefedf
Author: Tom Rondeau <address@hidden>
Date:   Wed Jan 6 17:05:56 2016 -0500

    gru: Fixes an obsolete numpy function call.
---
 gnuradio-runtime/python/gnuradio/gru/freqz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuradio-runtime/python/gnuradio/gru/freqz.py 
b/gnuradio-runtime/python/gnuradio/gru/freqz.py
index 60dca64..6d8b94d 100644
--- a/gnuradio-runtime/python/gnuradio/gru/freqz.py
+++ b/gnuradio-runtime/python/gnuradio/gru/freqz.py
@@ -101,7 +101,7 @@ def polyval(p,x):
         y = 0
     else:
         x = asarray(x)
-        y = numpy.zeros(x.shape,x.typecode())
+        y = numpy.zeros(x.shape,x.dtype)
     for i in range(len(p)):
         y = x * y + p[i]
     return y



reply via email to

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