Skip to content

Commit 688ca0d

Browse files
committed
gru: Fixes an obsolete numpy function call.
1 parent 32d1d46 commit 688ca0d

File tree

1 file changed

+1
-1
lines changed
  • gnuradio-runtime/python/gnuradio/gru

1 file changed

+1
-1
lines changed

gnuradio-runtime/python/gnuradio/gru/freqz.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def polyval(p,x):
101101
y = 0
102102
else:
103103
x = asarray(x)
104-
y = numpy.zeros(x.shape,x.typecode())
104+
y = numpy.zeros(x.shape,x.dtype)
105105
for i in range(len(p)):
106106
y = x * y + p[i]
107107
return y

0 commit comments

Comments
 (0)