Changeset 6681 for trunk/sources/HeuristicLab.Core/3.3/Constraints
- Timestamp:
- 08/24/11 13:13:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Constraints/Constraint.cs
r5445 r6681 48 48 protected Constraint() { 49 49 this.Active = false; 50 if (AllowedConstraintOperations != null && AllowedConstraintOperations. Count() != 0)50 if (AllowedConstraintOperations != null && AllowedConstraintOperations.Any()) 51 51 this.ConstraintOperation = AllowedConstraintOperations.ElementAt(0); 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.