From ecc31f60825af886940641a9f139929e50be9b30 Mon Sep 17 00:00:00 2001 From: "Dr. Kashif Rasul" Date: Fri, 20 Nov 2020 09:11:17 +0100 Subject: [PATCH] upstream fix for transform chain --- pts/transform/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pts/transform/transform.py b/pts/transform/transform.py index 4a52c40..499b8c9 100644 --- a/pts/transform/transform.py +++ b/pts/transform/transform.py @@ -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)