Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/17 21:42:09 (7 years ago)
Author:
pkimmesw
Message:

#2665 Renamings due to typos, ManagedPool tests, Skip Noops in Debugger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Problems/Example.cs

    r14733 r14744  
    11namespace HeuristicLab.BenchmarkSuite.Problems {
     2  using System;
    23
    34  using HeuristicLab.Common;
     
    2324
    2425    public void CopyTo(Example example) {
    25       example.InputArgs = this.InputArgs;
    26       example.OutputArgs = this.OutputArgs;
     26      Array.Copy(InputArgs, example.InputArgs, InputArgs.Length);
     27      Array.Copy(OutputArgs, example.OutputArgs, OutputArgs.Length);
    2728
    28       example.InputBoolean = this.InputBoolean;
    29       example.InputInt = this.InputInt;
    30       example.InputFloat = this.InputFloat;
     29      Array.Copy(InputBoolean, example.InputBoolean, InputBoolean.Length);
     30      Array.Copy(InputInt, example.InputInt, InputInt.Length);
     31      Array.Copy(InputFloat, example.InputFloat, InputFloat.Length);
    3132
    32       example.OutputBoolean = this.OutputBoolean;
    33       example.OutputInt = this.OutputInt;
    34       example.OutputFloat = this.OutputFloat;
     33      Array.Copy(OutputBoolean, example.OutputBoolean, OutputBoolean.Length);
     34      Array.Copy(OutputInt, example.OutputInt, OutputInt.Length);
     35      Array.Copy(OutputFloat, example.OutputFloat, OutputFloat.Length);
    3536    }
    3637
Note: See TracChangeset for help on using the changeset viewer.