From 9eb653cea82dd3652a1cbcdcbeddc6833c82e820 Mon Sep 17 00:00:00 2001
From: faridm69 <faridmohammadi69@gmail.com>
Date: Sat, 25 Jul 2020 18:13:19 +0200
Subject: [PATCH] [bayesinference][MCMC] added calib or valid argument to
 eval_metamodel function

---
 BayesValidRox/BayesInference/MCMC.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BayesValidRox/BayesInference/MCMC.py b/BayesValidRox/BayesInference/MCMC.py
index 489f0e026..31a67fa67 100755
--- a/BayesValidRox/BayesInference/MCMC.py
+++ b/BayesValidRox/BayesInference/MCMC.py
@@ -153,7 +153,7 @@ class MCMC():
         
         if BayesOpts.emulator:
             # Evaluate the PCEModel
-            meanPCEPriorPred, BayesOpts.stdPCEPriorPred = PCEModel.eval_metamodel(samples=theta)
+            meanPCEPriorPred, BayesOpts.stdPCEPriorPred = PCEModel.eval_metamodel(samples=theta, name=BayesOpts.Name)
         else:
             # Evaluate the origModel
             meanPCEPriorPred = BayesOpts.eval_Model(theta)
-- 
GitLab