From cf0bd14cf193c13da0328c12b78236b5408072ef Mon Sep 17 00:00:00 2001
From: Alex Moreo <alejandro.moreo@isti.cnr.it>
Date: Fri, 17 Jun 2022 12:51:52 +0200
Subject: [PATCH] bug fix in covariate shift protocol

---
 quapy/protocol.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quapy/protocol.py b/quapy/protocol.py
index f8b828f..ac9680f 100644
--- a/quapy/protocol.py
+++ b/quapy/protocol.py
@@ -341,7 +341,7 @@ class CovariateShiftPP(AbstractStochasticSeededProtocol):
         indexesA, indexesB = indexes
         sampleA = self.A.sampling_from_index(indexesA)
         sampleB = self.B.sampling_from_index(indexesB)
-        return self.collator(sampleA+sampleB)
+        return sampleA+sampleB
 
     def total(self):
         return self.repeats * len(self.mixture_points)