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

Wrong definition of dim in get_warm_start_mgd #97

Closed
Yibinjiang opened this issue Feb 19, 2021 · 2 comments · Fixed by #98
Closed

Wrong definition of dim in get_warm_start_mgd #97

Yibinjiang opened this issue Feb 19, 2021 · 2 comments · Fixed by #98
Assignees
Labels
bug Something isn't working

Comments

@Yibinjiang
Copy link

dim in "get_warm_start_mgd" is defined as dim = len(source_solutions[0]). Since source_solutions[0] is tuple, this dim is always 2. I'm assuming dim = len(source_solutions[0][0]), otherwise get_warm_start_mgd won't work for higher dimensional data.

@c-bata
Copy link
Collaborator

c-bata commented Feb 19, 2021

Good catch!! You are completely correct. I fixed this bug at #98.

@c-bata c-bata added the bug Something isn't working label Feb 19, 2021
@c-bata c-bata self-assigned this Feb 19, 2021
@c-bata
Copy link
Collaborator

c-bata commented Feb 19, 2021

I published v0.8.2 for this bugfix. Thank you for reporting!
https://github.com/CyberAgent/cmaes/releases/tag/v0.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants