Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/24/08 12:16:49 (16 years ago)
Author:
abeham
Message:

Fixed #129 (right side of VariableComparisonConstraint)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Constraints/VariableComparisonConstraint.cs

    r2 r175  
    4949    public override string Description {
    5050      get {
    51         return @"Compares items in a ConstrainedItemList";
     51        return @"Compares variables in a ConstrainedItemList";
    5252      }
    5353    }
     
    7070          if (left == null) throw new InvalidCastException("ERROR in VariableComparisonConstraint: Value of the variable on the left side needs to be of type IComparable");
    7171        } else if (tmp != null && tmp.Name.Equals(rightVarName.Data)) {
    72           right = tmp;
     72          right = tmp.Value;
    7373        }
    7474      }
Note: See TracChangeset for help on using the changeset viewer.