From 32ac13adbe34413fdea7789cea520230cd27f306 Mon Sep 17 00:00:00 2001
From: Farid Mohammadi <farid.mohammadi@iws.uni-stuttgart.de>
Date: Fri, 17 Jun 2022 18:21:20 +0200
Subject: [PATCH] [examples][ishigami] follow output convention.

---
 examples/ishigami/Ishigami.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/examples/ishigami/Ishigami.py b/examples/ishigami/Ishigami.py
index 4857ed6fc..375be292e 100644
--- a/examples/ishigami/Ishigami.py
+++ b/examples/ishigami/Ishigami.py
@@ -62,9 +62,8 @@ def Ishigami(xx, *args):
     y = term1 + term2 + term3
 
     # Prepare output dict using standard bayesvalidrox format
-    if y.ndim == 1:
-        y = y.reshape(1, -1)
-
+    # if y.ndim == 1:
+    #     y = y.reshape(1, -1)
     output = {'x_values': np.zeros(1), 'Z': y}
 
     return output
-- 
GitLab