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

Critical: Item not fit unrotated yet inserted #18

Merged
merged 1 commit into from
Nov 19, 2014

Conversation

TravisBernard
Copy link
Contributor

If an item doesn't fit unrotated it's inserted that direction since $fitsSameGap < $fitsRotatedGap. Creates an impossible scenario. Fixed bug but did not update unit tests.

Found bug using a box of 23x21x17 with an item of 16x23x10

If an item doesn't fit unrotated it's inserted that direction since $fitsSameGap < $fitsRotatedGap. Fixed bug but did not update unit tests
@dvdoug
Copy link
Owner

dvdoug commented Nov 16, 2014

Thanks for this - I'll try and take a look at the patch sometime in the next couple of days

dvdoug added a commit that referenced this pull request Nov 19, 2014
Merge patch for issue #18 - in some cases, items that only fit in a single orientation were being recorded as fitting in the alternate, impossible one.
@dvdoug dvdoug merged commit edde226 into dvdoug:master Nov 19, 2014
@dvdoug
Copy link
Owner

dvdoug commented Nov 19, 2014

Thanks again for this - I've just tagged a new version that includes your patch

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

Successfully merging this pull request may close these issues.

None yet

2 participants