Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/18/08 16:00:00 (16 years ago)
Author:
swagner
Message:

Fixed ticket #67

  • adapted accessing of variables in operators due to changes of variable lookup and the new name aliasing mechanism (actual/formal name translations should not be done directly anymore; instead the new method Scope.TranslateName should be used)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Permutation/RandomPermutationGenerator.cs

    r2 r77  
    6161
    6262      int[] perm = Apply(random, length.Data);
    63       scope.AddVariable(new Variable(GetVariableInfo("Permutation").ActualName, new Permutation(perm)));
     63      scope.AddVariable(new Variable(scope.TranslateName("Permutation"), new Permutation(perm)));
    6464
    6565      return null;
Note: See TracChangeset for help on using the changeset viewer.