From 544ebd8d35df7df575e3ffd03e77c9ea4980f114 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 7 Feb 2020 14:46:49 +0000 Subject: [PATCH] grr correct syntax for assert --- src/ieee754/part_cmp/eq_gt_ge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ieee754/part_cmp/eq_gt_ge.py b/src/ieee754/part_cmp/eq_gt_ge.py index 9772522a..ef4ecb5a 100644 --- a/src/ieee754/part_cmp/eq_gt_ge.py +++ b/src/ieee754/part_cmp/eq_gt_ge.py @@ -44,8 +44,8 @@ class PartitionedEqGtGe(Elaboratable): self.partition_points = PartitionPoints(partition_points) self.mwidth = len(self.partition_points)+1 self.output = Signal(self.mwidth, reset_less=True) - assert (self.partition_points.fits_in_width(width), - "partition_points doesn't fit in width") + assert self.partition_points.fits_in_width(width), \ + "partition_points doesn't fit in width" def elaborate(self, platform): m = Module() -- 2.30.2