diff options
Diffstat (limited to 'gr-blocks/python/blocks/bindings/message_strobe_random_python.cc')
-rw-r--r-- | gr-blocks/python/blocks/bindings/message_strobe_random_python.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-blocks/python/blocks/bindings/message_strobe_random_python.cc b/gr-blocks/python/blocks/bindings/message_strobe_random_python.cc index 0ce7333485..6b9e5969da 100644 --- a/gr-blocks/python/blocks/bindings/message_strobe_random_python.cc +++ b/gr-blocks/python/blocks/bindings/message_strobe_random_python.cc @@ -90,4 +90,6 @@ void bind_message_strobe_random(py::module& m) .value("STROBE_GAUSSIAN", ::gr::blocks::STROBE_GAUSSIAN) // 2 .value("STROBE_UNIFORM", ::gr::blocks::STROBE_UNIFORM) // 3 .export_values(); + + py::implicitly_convertible<int, ::gr::blocks::message_strobe_random_distribution_t>(); } |