From: Cesar Strauss Date: Sat, 23 Jan 2021 21:16:04 +0000 (-0300) Subject: Revert order of operations in PartitionedSignal.implies() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bce9a9a2cdb52ce4459dd036507cfb5135e253b;p=ieee754fpu.git Revert order of operations in PartitionedSignal.implies() Now that all bitwise logic operations return PartitionedSignal, the original order of operations will work. --- diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index 5d96a27a..9e6e78b6 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -336,4 +336,4 @@ class PartitionedSignal: ``1`` otherwise. """ # amazingly, this should actually work. - return conclusion | ~premise + return ~premise | conclusion