Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6571


Ignore:
Timestamp:
07/18/11 00:18:30 (13 years ago)
Author:
abeham
Message:

#1586

  • fixed in trunk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r6540 r6571  
    157157        ItemList<Permutation> list = ((OptionalValueParameter<ItemList<Permutation>>)Parameters["BestKnownSolutions"]).Value;
    158158        Parameters.Remove("BestKnownSolutions");
    159         Parameters.Add(new OptionalValueParameter<ItemSet<Permutation>>("BestKnownSolutions", "The list of best known solutions which is updated whenever a new better solution is found or may be the optimal solution if it is known beforehand.", new ItemSet<Permutation>(list)));
     159        Parameters.Add(new OptionalValueParameter<ItemSet<Permutation>>("BestKnownSolutions", "The list of best known solutions which is updated whenever a new better solution is found or may be the optimal solution if it is known beforehand.", (list != null ? new ItemSet<Permutation>(list) : null)));
    160160      }
    161161      if (Parameters.ContainsKey("DistanceMatrix")) {
Note: See TracChangeset for help on using the changeset viewer.