summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gru/freqz.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-01-17 08:51:57 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2016-01-17 08:51:57 -0800
commit4ece7cfa9b0f090a2e30d1b5dc4770c64a392546 (patch)
treeb47ae059bec21c9da0d55860bc22e58ce41828f8 /gnuradio-runtime/python/gnuradio/gru/freqz.py
parentf44e66c9c21062037db19b8fd98f33984dff36e0 (diff)
parent688ca0d1749d6dcfe6a24bfa13a6d5bb2ceefedf (diff)
Merge remote-tracking branch 'tom/nbfm' into maint
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gru/freqz.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/gru/freqz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gru/freqz.py b/gnuradio-runtime/python/gnuradio/gru/freqz.py
index 60dca64a58..6d8b94db8b 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