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

There is a bug in example7 #18

Open
Maroon1995 opened this issue Jul 7, 2023 · 2 comments
Open

There is a bug in example7 #18

Maroon1995 opened this issue Jul 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Maroon1995
Copy link

In your example7, there is a bug where the parameter level of the added item is set to different levels, and there may be a situation where all remaining items cannot be loaded when loaded into the second vehicle. At this point, the second car is empty. In the pack method, when iterating through enumerate (self. bins) to the second bin, there is a situation where bin. items are empty, and an error of dividing by 0 is reported. You need to add a check (if bin. items:) before "self. bins [idx]. activity=self. activityCenter (bin)"

@jerry800416 jerry800416 added the bug Something isn't working label Jul 31, 2023
@jerry800416
Copy link
Owner

@Maroon1995
Thank you very much, this problem will be fixed in the next version.

@liyinstyle
Copy link

q= eval(flask.request.data.decode('utf-8')) SyntaxError: invalid syntax

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

3 participants