Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16665


Ignore:
Timestamp:
03/07/19 19:17:54 (6 years ago)
Author:
gkronber
Message:

#2925 fixed a problem which prevents loading persistence files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2925_AutoDiffForDynamicalModels/HeuristicLab.Optimization/3.3/BasicProblems/Encoding.cs

    r16662 r16665  
    3232  [StorableType("395B1372-FA54-4649-9EBE-5402A0AA9494")]
    3333  public abstract class Encoding<T> : ParameterizedNamedItem, IEncoding
    34     where T : class,ISolutionCreator {
     34    where T : class, ISolutionCreator {
    3535    public override sealed bool CanChangeName {
    3636      get { return false; }
     
    4242    private IEnumerable<IOperator> StorableOperators {
    4343      get { return encodingOperators; }
    44       set { encodingOperators = new ItemSet<IOperator>(value, new TypeEqualityComparer<IOperator>()); ; }
     44      set { encodingOperators = (ItemSet<IOperator>)value; }
    4545    }
    4646
Note: See TracChangeset for help on using the changeset viewer.