Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/20/17 22:54:54 (7 years ago)
Author:
abeham
Message:

#2762:

  • (hopefully) fixed unit test (the instances' items were loaded on sort, this was removed and thus the instance changed)
  • corrected license header of newly created decoders
  • changed a small query in BinPacking3D
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/BinPacking3D.cs

    r15241 r15276  
    237237        if (positionFound != null) {
    238238          PackItem(itemID, item, positionFound);
    239           if (!(positionFound.X == 0 && positionFound.Y == 0 && positionFound.Z == 0)) {
     239          if (Items.Count > 1)
    240240            UpdateResidualSpace(item, positionFound);
    241           }
    242241          sequence.Remove(itemID);
    243242        }
Note: See TracChangeset for help on using the changeset viewer.