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

[BUG]: Use visualize.py failed #32

Closed
Gang1024 opened this issue May 11, 2024 · 1 comment
Closed

[BUG]: Use visualize.py failed #32

Gang1024 opened this issue May 11, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Gang1024
Copy link

Description of the bug

When I want to draw a 2d or 3d image by plot_2d or plot_3d in visualize.py, it will report an error.
Error Message : "ValueError: too many values to unpack (expected 2). "
It happens on the first line of both two functions: X_domain, Y_domain = func.bounds.
Here is my guess about cause of the error:
The variable "func.bounds" has dimension "dim_default", it will be given to variable "X_domain" and "Y_domain".

Steps To Reproduce

1.run visualize.plot_2d(cec2017.F12017())
2.ValueError: too many values to unpack (expected 2)

Additional Information

No response

@Gang1024 Gang1024 added the bug Something isn't working label May 11, 2024
@thieu1995
Copy link
Owner

@Gang1024,

Thanks, it has been fixed in latest version. Wait for the release.

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

No branches or pull requests

2 participants