encog-dotnet-core icon indicating copy to clipboard operation
encog-dotnet-core copied to clipboard

Question about TrainerHelper.GenerateInputz

Open anders9ustafsson opened this issue 10 years ago • 0 comments

If I understand the TrainerHelper.GenerateInputz method correctly, it should take all items of a jagged array and return these elements as a one-dimensional array of double:s (right?).

If this is a correct interpretation, then I think that this code line should use ArrayList.AddRange:

  al.AddRange((double[])doublear);

instead of ArrayList.Add.

anders9ustafsson avatar May 26 '14 19:05 anders9ustafsson