Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/18/10 14:57:11 (14 years ago)
Author:
mkommend
Message:

Refactored grammars (ticket #1028).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/SubroutineDuplicater.cs

    r4068 r4249  
    6666      duplicatedDefunBranch.FunctionName = newFunctionName;
    6767      symbolicExpressionTree.Root.AddSubTree(duplicatedDefunBranch);
    68       duplicatedDefunBranch.Grammar = (ISymbolicExpressionGrammar)selectedBranch.Grammar.Clone();
     68      duplicatedDefunBranch.SetGrammar((ISymbolicExpressionGrammar)selectedBranch.Grammar.Clone());
    6969      // add an invoke symbol for each branch that is allowed to invoke the original function
    7070      foreach (var subtree in symbolicExpressionTree.Root.SubTrees.OfType<SymbolicExpressionTreeTopLevelNode>()) {
Note: See TracChangeset for help on using the changeset viewer.