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

reporting a bug #1

Open
JmingZhang opened this issue May 18, 2017 · 0 comments
Open

reporting a bug #1

JmingZhang opened this issue May 18, 2017 · 0 comments

Comments

@JmingZhang
Copy link

first, thank you for your great works.
during my using of the program, i found a bug need to fix. But i am not familiar with R and also do not know how to update the code on github.
the bug is that if you set all box to [1 1 1], which can full fill the container, then the ems_list is empty. A error is reported when the ems_list[i] is executed.
it is easy to fix up the error by adding a code to the packBoxes.R as follow:

con_EMS <- packing_solution[[container_ind]][[1]]@ems
if (isEmpty(ems_list))
{break;
}

con_EMS <- PrioritizeEMS(con_EMS)

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