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.Random/RandomInjector.cs

    r2 r77  
    5656      }
    5757      MersenneTwister mersenneTwister = new MersenneTwister((uint)seed.Data);
    58       scope.AddVariable(new Variable(GetVariableInfo("Random").ActualName, mersenneTwister));
     58
     59      scope.AddVariable(new Variable(scope.TranslateName("Random"), mersenneTwister));
    5960      return null;
    6061    }
Note: See TracChangeset for help on using the changeset viewer.