Free cookie consent management tool by TermsFeed Policy Generator

Changeset 536


Ignore:
Timestamp:
09/03/08 20:27:31 (16 years ago)
Author:
gkronber
Message:

fixed incorrect variable retrieval (goes through the operator now instead of directly to the scope) (#200)

Location:
trunk/sources/HeuristicLab.CEDMA.Operators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Operators/OnGridProcessor.cs

    r490 r536  
    4343
    4444    public override IOperation Apply(IScope scope) {
    45       IOperator op = scope.GetVariableValue<IOperator>("Operator", true);
    46       string serverUrl = scope.GetVariableValue<StringData>("CedmaServerUri", true).Data;
    47       long agentId = scope.GetVariableValue<IntData>("AgentId", true).Data;
     45      IOperator op = GetVariableValue<IOperator>("Operator", scope, true);
     46      string serverUrl = GetVariableValue<StringData>("CedmaServerUri", scope, true).Data;
     47      long agentId = GetVariableValue<IntData>("AgentId", scope, true).Data;
    4848
    4949      NetTcpBinding binding = new NetTcpBinding();
  • trunk/sources/HeuristicLab.CEDMA.Operators/ScopeResultWriter.cs

    r403 r536  
    4242
    4343    public override IOperation Apply(IScope scope) {
    44       string serverUrl = scope.GetVariableValue<StringData>("CedmaServerUri", true).Data;
    45       long agentId = scope.GetVariableValue<IntData>("AgentId", true).Data;
     44      string serverUrl = GetVariableValue<StringData>("CedmaServerUri", scope, true).Data;
     45      long agentId = GetVariableValue<IntData>("AgentId", scope, true).Data;
    4646
    4747      NetTcpBinding binding = new NetTcpBinding();
Note: See TracChangeset for help on using the changeset viewer.