From f730b493ac01aa581b22dee11226ba1b91936657 Mon Sep 17 00:00:00 2001 From: "valentin.boettcher@mailbox.tu-dresden.de" Date: Fri, 30 Dec 2022 15:52:54 -0500 Subject: [PATCH] this time: actually use my brain --- python/otto_motor/otto_utilities.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/otto_motor/otto_utilities.py b/python/otto_motor/otto_utilities.py index bd64ad8..625dff9 100644 --- a/python/otto_motor/otto_utilities.py +++ b/python/otto_motor/otto_utilities.py @@ -168,8 +168,8 @@ def integrate_online_multi(models, n, *args, increment=1000, **kwargs): samples = [] for model in models: try: - with aux.get_data(model) as d: - samples.append(d.samples, *args, **kwargs) + with aux.get_data(model, *args, **kwargs) as d: + samples.append(d.samples) except: samples.append(0)