summaryrefslogtreecommitdiff
path: root/gr-trellis/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis/python')
-rw-r--r--gr-trellis/python/trellis/bindings/siso_type_python.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/python/trellis/bindings/siso_type_python.cc b/gr-trellis/python/trellis/bindings/siso_type_python.cc
index a4003efe9c..13b395f0be 100644
--- a/gr-trellis/python/trellis/bindings/siso_type_python.cc
+++ b/gr-trellis/python/trellis/bindings/siso_type_python.cc
@@ -29,10 +29,10 @@ namespace py = pybind11;
void bind_siso_type(py::module& m)
{
-
-
py::enum_<::gr::trellis::siso_type_t>(m, "siso_type_t")
.value("TRELLIS_MIN_SUM", ::gr::trellis::TRELLIS_MIN_SUM) // 200
.value("TRELLIS_SUM_PRODUCT", ::gr::trellis::TRELLIS_SUM_PRODUCT) // 201
.export_values();
+
+ py::implicitly_convertible<int, ::gr::trellis::siso_type_t>();
}