From 9507c86c8580b45db6516190290b91aa442e4875 Mon Sep 17 00:00:00 2001
From: Tommaso Fulghesu <tommaso.fulghesu@cern.ch>
Date: Fri, 25 Nov 2022 16:03:13 +0100
Subject: [PATCH] Follows https://gitlab.cern.ch/lhcb/Rec/-/merge_requests/3217

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

diff --git a/DaVinciExamples/python/DaVinciExamples/tupling/option_davinci_tupling_weightedrelation_trackvariables.py b/DaVinciExamples/python/DaVinciExamples/tupling/option_davinci_tupling_weightedrelation_trackvariables.py
index e0758705e..ae1b7ae21 100644
--- a/DaVinciExamples/python/DaVinciExamples/tupling/option_davinci_tupling_weightedrelation_trackvariables.py
+++ b/DaVinciExamples/python/DaVinciExamples/tupling/option_davinci_tupling_weightedrelation_trackvariables.py
@@ -72,7 +72,7 @@ def main(options: Options):
         "Asym_PT":
         F.ASYM(Functor=F.PT, Relations=ftAlg_Rels),
         "Num_tracks":
-        F.VALUE_OR(0) @ F.NINCONE(Relations=ftAlg_Rels),
+        F.VALUE_OR(0) @ F.MAP_INPUT_SIZE(Relations=ftAlg_Rels),
     })
 
     variables_all = FunctorCollection({'THOR_P': F.P, 'THOR_PT': F.PT})
-- 
GitLab