From 6212086b0d9d84c186f849e095afdd9be2c1244c Mon Sep 17 00:00:00 2001
From: kohlhaasrebecca <rebecca.kohlhaas@outlook.com>
Date: Fri, 23 Aug 2024 14:04:59 +0200
Subject: [PATCH] [fix] Add meta_model_type to MetaMod constructor everywhere

---
 src/bayesvalidrox/surrogate_models/polynomial_chaos.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bayesvalidrox/surrogate_models/polynomial_chaos.py b/src/bayesvalidrox/surrogate_models/polynomial_chaos.py
index e83eb9ff1..891484f66 100644
--- a/src/bayesvalidrox/surrogate_models/polynomial_chaos.py
+++ b/src/bayesvalidrox/surrogate_models/polynomial_chaos.py
@@ -106,12 +106,11 @@ class PCE(MetaModel):
         is_gaussian = self.check_is_gaussian(pce_reg_method, n_bootstrap_itrs)
 
         # Use parent init
-        super().__init__(input_obj, bootstrap_method,
+        super().__init__(input_obj, meta_model_type, bootstrap_method,
                          n_bootstrap_itrs, dim_red_method, is_gaussian, verbose)
 
         # Additional inputs
         # Parameters that are not needed from the outside are denoted with '_'
-        self.meta_model_type = meta_model_type
         self._pce_reg_method = pce_reg_method
         self._pce_deg = pce_deg
         self._pce_q_norm = pce_q_norm
-- 
GitLab