Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 17:39:41 (5 years ago)
Author:
gkronber
Message:

#2520: several fixes based on failing unit tests

  • adapted unit tests that check StorableConstructors
  • missing translations of StorableClass -> StorableType
  • missing StorableConstructors
  • missing or unecessary PluginDependencies / ProjectReferences
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/TreeMatching/SymbolicExpressionTreeEqualityComparer.cs

    r16565 r16571  
    1010    public SymbolicExpressionTreeNodeEqualityComparer SimilarityComparer { get; set; }
    1111
     12
     13    [StorableConstructor]
     14    protected SymbolicExpressionTreeEqualityComparer(StorableConstructorFlag _) { }
     15    public SymbolicExpressionTreeEqualityComparer() { }
     16
    1217    public bool Equals(ISymbolicExpressionTree a, ISymbolicExpressionTree b) {
    1318      if (SimilarityComparer == null) throw new Exception("SimilarityComparer needs to be initialized first.");
     
    1823      return (tree.Length << 8) % 12345;
    1924    }
     25
    2026  }
    2127}
Note: See TracChangeset for help on using the changeset viewer.