diff --git a/BayesValidRox/BayesInference/MCMC.py b/BayesValidRox/BayesInference/MCMC.py index fa5b2f0dd948dd7bedf00a795b206ae47a7a3fed..2f40339261bf8c04b53c6ee492e5625a65ee9c21 100755 --- a/BayesValidRox/BayesInference/MCMC.py +++ b/BayesValidRox/BayesInference/MCMC.py @@ -78,7 +78,7 @@ class MCMC(): initsamples = priorDist.sample(self.nwalkers).T except: # when aPCE selected - gaussian kernel distribution - inputSamples = PCEModel.ExpDesign.Input_distributions.T + inputSamples = PCEModel.ExpDesign.raw_data.T random_indices = np.random.choice(len(inputSamples), size=self.nwalkers, replace=False)