Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Jul 15, 2018
1 parent 740c035 commit 6c52d26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/empty_spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,9 @@ namespace rectpack2D {
*/

if (normal && flipped) {
/*
To prefer normal placements instead of flipped ones,
better_than will return true only if the flipped one generated
*strictly* less space remainders.
*/

if (flipped.better_than(normal)) {
/* Accept the flipped result if it producues less or "better" spaces. */

return accept_result(flipped, true);
}

Expand Down

0 comments on commit 6c52d26

Please sign in to comment.