upstream fix for transform chain

This commit is contained in:
Dr. Kashif Rasul
2020-11-20 09:11:17 +01:00
parent af9d809730
commit ecc31f6082
+1 -1
View File
@@ -33,7 +33,7 @@ class Transformation(ABC):
return data_it # default is to pass through without estimation
def chain(self, other: "Transformation") -> "Chain":
return Chain(self, other)
return Chain([self, other])
def __add__(self, other: "Transformation") -> "Chain":
return self.chain(other)