Skip to content
Snippets Groups Projects
Commit d16a7a24 authored by Farid Mohammadi's avatar Farid Mohammadi
Browse files

[surrogate][exp_designs] fix bugs for sampling with gaussian_kde.

parent 6eb1beab
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ class ExpDesigns:
domain=self.JDist,
rule=sampling_method).T
except:
samples = self.JDist.sample(n_samples)
samples = self.JDist.resample(n_samples).T
elif not self.input_data_given:
# Case I = User passed known distributions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment