From d760b666cdc36ea168485b6e2248cf7b253405ed Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 5 Oct 2021 13:34:45 +0100 Subject: [PATCH] disable mul and rmul in PartitionedSignal for now --- src/ieee754/part/partsig.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.30.2