diff --git a/python/rs_map_generator_m.py b/python/rs_map_generator_m.py index d2db980..3d539ab 100644 --- a/python/rs_map_generator_m.py +++ b/python/rs_map_generator_m.py @@ -75,7 +75,7 @@ def rs_val_to_pmt(self, rs_vals): def complex_list_to_pmt(self, items): if len(items) == 0: - return pmt.from_bool(pmt.PMT_F) + return pmt.PMT_F else: pmtl = pmt.list1(pmt.from_complex(items[0])) for i in range(len(items) - 1): @@ -90,7 +90,7 @@ def rs_pos_to_pmt(self, rs_poss): def int_list_to_pmt(self, items): if len(items) == 0: - return pmt.from_bool(pmt.PMT_F) + return pmt.PMT_F else: pmtl = pmt.list1(pmt.from_long(items[0])) for i in range(len(items) - 1):