From: Cesar Strauss Date: Sat, 23 Jan 2021 20:46:29 +0000 (-0300) Subject: Also copy the module in PartotionSignal.like() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a91387d34bc1ce5807a5b8a33d919e1c78144fa8;p=ieee754fpu.git Also copy the module in PartotionSignal.like() --- diff --git a/src/ieee754/part/partsig.py b/src/ieee754/part/partsig.py index 84a96188..24fd80d4 100644 --- a/src/ieee754/part/partsig.py +++ b/src/ieee754/part/partsig.py @@ -66,6 +66,7 @@ class PartitionedSignal: Signal properties as the other""" result = PartitionedSignal(other.partpoints) result.sig = Signal.like(other.sig, *args, **kwargs) + result.m = other.m return result # unary ops that do not require partitioning