Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5362


Ignore:
Timestamp:
01/24/11 10:46:51 (14 years ago)
Author:
mkommend
Message:

Corrected discovering of Analyzers in UserDefinedAlgorithm (ticket #1382).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/UserDefinedAlgorithm.cs

    r5080 r5362  
    5252
    5353    private IValueParameter AnalyzerParameter {
    54       get { return (IValueParameter)Parameters["Analyzer"]; }
     54      get {
     55        IParameter param;
     56        if (Parameters.TryGetValue("Analyzer", out param))
     57          return param as IValueParameter;
     58        return null;
     59      }
    5560    }
    5661    private IMultiAnalyzer Analyzer {
Note: See TracChangeset for help on using the changeset viewer.