This commit is contained in:
linarphy 2024-05-27 16:41:43 +02:00
parent 834126e0d6
commit 974702246d
No known key found for this signature in database
GPG key ID: E61920135EFF2295

View file

@ -264,7 +264,7 @@ class Signal:
return self.operator_signal(other, "+")
return self.operator_arraylike(other, "+")
def __rad__(self, other: ArrayLike | "Signal") -> "Signal":
def __radd__(self, other: ArrayLike | "Signal") -> "Signal":
return self + other # symetric
def __sub__(self, other: ArrayLike | "Signal") -> "Signal":