summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/templates.py
diff options
context:
space:
mode:
authorJacob Gilbert <mrjacobagilbert@gmail.com>2017-10-12 17:57:31 -0700
committerMartin Braun <martin.braun@ettus.com>2018-02-03 13:39:22 +0100
commit229d15df738a80941f97afc3b8a5e1c966eb676b (patch)
tree56b9a8f03de3e8562b05e45939feeba5bad06aca /gr-utils/python/modtool/templates.py
parent6d2221196082a4954c249dc6955e33d5832a56f2 (diff)
utils: gr_modtool template uses 'numpy.float' which defaults to double-precision floating point instead of 'numpy.float32' which is single precision and what GR expects
Diffstat (limited to 'gr-utils/python/modtool/templates.py')
-rw-r--r--gr-utils/python/modtool/templates.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-utils/python/modtool/templates.py b/gr-utils/python/modtool/templates.py
index 2804224892..c88d3d7ea6 100644
--- a/gr-utils/python/modtool/templates.py
+++ b/gr-utils/python/modtool/templates.py
@@ -349,12 +349,12 @@ import numpy
#if $blocktype == 'source'
#set $inputsig = 'None'
#else
-#set $inputsig = '[<+numpy.float+>]'
+#set $inputsig = '[<+numpy.float32+>]'
#end if
#if $blocktype == 'sink'
#set $outputsig = 'None'
#else
-#set $outputsig = '[<+numpy.float+>]'
+#set $outputsig = '[<+numpy.float32+>]'
#end if
#else
#if $blocktype == 'source'