Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/16/15 21:25:23 (9 years ago)
Author:
abeham
Message:

#2433: merged r12772 to stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs

    r12708 r13189  
    162162      // BackwardsCompatibility3.3
    163163      #region Backwards compatible code, remove with 3.4
    164       if (Parameters.ContainsKey("SimilarityCalculator")) {
     164      if (Parameters.ContainsKey("SimilarityCalculator") && Parameters["SimilarityCalculator"] is IConstrainedValueParameter<ISingleObjectiveSolutionSimilarityCalculator>) {
    165165#pragma warning disable 0618
    166166        var oldParameter = (IConstrainedValueParameter<ISingleObjectiveSolutionSimilarityCalculator>)Parameters["SimilarityCalculator"];
Note: See TracChangeset for help on using the changeset viewer.