Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/12/10 01:29:35 (15 years ago)
Author:
swagner
Message:

Removed unnecessary checks if the application manager is not null (#954).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealing.cs

    r3280 r3303  
    279279    private void InitializeAnnealingOperators() {
    280280      annealingOperators = new List<IDiscreteDoubleValueModifier>();
    281       if (ApplicationManager.Manager != null) {
    282         annealingOperators.AddRange(ApplicationManager.Manager.GetInstances<IDiscreteDoubleValueModifier>().OrderBy(x => x.Name));
    283         ParameterizeAnnealingOperators();
    284       }
     281      annealingOperators.AddRange(ApplicationManager.Manager.GetInstances<IDiscreteDoubleValueModifier>().OrderBy(x => x.Name));
     282      ParameterizeAnnealingOperators();
    285283      AnnealingOperatorParameter.ValidValues.Clear();
    286284      foreach (IDiscreteDoubleValueModifier op in annealingOperators)
Note: See TracChangeset for help on using the changeset viewer.