From e78cdf49ab51cc4ea9c01b6e6ce96493234e9a7d Mon Sep 17 00:00:00 2001 From: Vanya Belyaev Date: Tue, 14 Jan 2025 15:02:59 +0100 Subject: [PATCH] fix? --- ostap/fitting/roocollections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ostap/fitting/roocollections.py b/ostap/fitting/roocollections.py index 1cba1fb6..1f12ea2d 100644 --- a/ostap/fitting/roocollections.py +++ b/ostap/fitting/roocollections.py @@ -374,7 +374,7 @@ def _stl_contains_ ( lst , item ) : _STLList .__str__ = lambda s : str ( tuple ( _rs_list_ ( s ) ) ) if s else '[]' _STLList .__repr__ = lambda s : str ( tuple ( _rs_list_ ( s ) ) ) if s else '[]' _STLList .__contains__ = _stl_contains_ -else ( 6 , 24 ) <= root_info : +elif ( 6 , 24 ) <= root_info : _STLList = ROOT.RooSTLRefCountList(ROOT.RooAbsArg) _STLList .__str__ = lambda s : str ( tuple ( _rs_list_ ( s ) ) ) if s else '[]' _STLList .__repr__ = lambda s : str ( tuple ( _rs_list_ ( s ) ) ) if s else '[]'