Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/05/08 11:34:33 (16 years ago)
Author:
gkronber
Message:

fixed #227

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Recombination/SizeFairCrossOver.cs

    r442 r444  
    9696
    9797      // check if the new tree is valid and if the height of is still in the allowed bounds (we are not so strict for the max-size)
    98       Debug.Assert(gardener.IsValidTree(newTree) && newTreeHeight <= maxTreeHeight);
     98      Debug.Assert(gardener.IsValidTree(newTree) && newTreeHeight <= maxTreeHeight && newTreeSize <= maxTreeSize);
    9999      return gardener.CreateInitializationOperation(newBranches, child);
    100100    }
Note: See TracChangeset for help on using the changeset viewer.