projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0526c09
)
Reverse order of operations in implies()
author
Cesar Strauss
<cestrauss@gmail.com>
Wed, 20 Jan 2021 10:29:35 +0000
(07:29 -0300)
committer
Cesar Strauss
<cestrauss@gmail.com>
Wed, 20 Jan 2021 10:34:35 +0000
(07:34 -0300)
Put the negation last, since it returns a Signal, and then Signal OR
was being called instead of PartitionedSignal OR.
src/ieee754/part/partsig.py
patch
|
blob
|
history
diff --git
a/src/ieee754/part/partsig.py
b/src/ieee754/part/partsig.py
index 3d3cd675dae4ea82248cdc4261d6a9cc030ad6ae..ab14bf9909fff362e132fab4b676bb228d9fd121 100644
(file)
--- a/
src/ieee754/part/partsig.py
+++ b/
src/ieee754/part/partsig.py
@@
-320,4
+320,4
@@
class PartitionedSignal:
``1`` otherwise.
"""
# amazingly, this should actually work.
- return
~premise | conclusion
+ return
conclusion | ~premise