From: Luke Kenneth Casson Leighton Date: Tue, 5 Oct 2021 12:34:45 +0000 (+0100) Subject: disable mul and rmul in PartitionedSignal for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d760b666cdc36ea168485b6e2248cf7b253405ed;p=ieee754fpu.git disable mul and rmul in PartitionedSignal for now --- diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index c9002171..8e5154ad 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -245,9 +245,11 @@ class PartitionedSignal(UserValue): return result def __mul__(self, other): + raise NotImplementedError # too complicated at the moment return Operator("*", [self, other]) def __rmul__(self, other): + raise NotImplementedError # too complicated at the moment return Operator("*", [other, self]) def __check_divisor(self):