From 52b02f7377a1fc88a7e1678e57af803f4d1bcc0c Mon Sep 17 00:00:00 2001 From: Lofty Date: Mon, 13 Feb 2023 12:49:00 +0000 Subject: [PATCH] machxo2: Fix Python bindings for pip iterators --- machxo2/arch_pybindings.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machxo2/arch_pybindings.cc b/machxo2/arch_pybindings.cc index 2ed68697..3fcf721d 100644 --- a/machxo2/arch_pybindings.cc +++ b/machxo2/arch_pybindings.cc @@ -54,8 +54,8 @@ void arch_wrap_python(py::module &m) readonly_wrapper>::def_wrap(belpin_cls, "bel"); readonly_wrapper>::def_wrap(belpin_cls, "pin"); - typedef const PipRange UphillPipRange; - typedef const PipRange DownhillPipRange; + typedef PipRange UphillPipRange; + typedef PipRange DownhillPipRange; typedef const std::vector &BelBucketRange; typedef const std::vector &BelRangeForBelBucket;