Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/20/08 16:55:07 (16 years ago)
Author:
gkronber
Message:

fixed a bug introduced with r525 (#263)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/FunctionBase.cs

    r525 r528  
    8585            if(constraint is SubOperatorTypeConstraint) {
    8686              SubOperatorTypeConstraint subOpConstraint = constraint as SubOperatorTypeConstraint;
    87               if(subOpConstraint.SubOperatorIndex.Data == index) {
     87              if(subOpConstraint.SubOperatorIndex.Data == i) {
    8888                allowedSubFunctions[i] = new List<IFunction>();
    8989                foreach(IFunction f in subOpConstraint.AllowedSubOperators) allowedSubFunctions[i].Add(f);
Note: See TracChangeset for help on using the changeset viewer.