From 0bce9a9a2cdb52ce4459dd036507cfb5135e253b Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Sat, 23 Jan 2021 18:16:04 -0300 Subject: [PATCH] Revert order of operations in PartitionedSignal.implies() Now that all bitwise logic operations return PartitionedSignal, the original order of operations will work. --- src/ieee754/part/partsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2