Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with standard latin hypercube sampling when number_of_samples = 2 #85

Open
ThrivikramanV opened this issue Feb 20, 2023 · 0 comments

Comments

@ThrivikramanV
Copy link

The following error comes up when using Standard Latin Hypercube sampling and the number_of_samples is 2. There is no error when the the number_of_samples is 1 or when it is >=3.

File "hypermapper/space.py", line 1931, in standard_latin_hypercube_sampling_configurations_without_repetitions
    for i in range(len(X[0])):
TypeError: object of type 'numpy.int64' has no len()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant