Skip to content

Commit

Permalink
Fixed analyst wizard bug from: http://stackoverflow.com/questions/281…
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffheaton committed Jan 31, 2015
1 parent 764b93d commit 87b334d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ConsoleExamples/ConsoleExamples.csproj.user
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<StartArguments>-pause xor</StartArguments>
<StartArguments>-pause test</StartArguments>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<StartArguments>-pause playground</StartArguments>
Expand Down
10 changes: 9 additions & 1 deletion ConsoleExamples/Examples/ExampleTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
//
using System;
using ConsoleExamples.Examples;
using Encog.Util.Simple;
using Encog.Neural.Pattern;
using Encog.Util.CSV;
using Encog.Engine.Network.Activation;
using Encog.Persist;
using Encog.Neural.Prune;
using System.IO;
using Encog.App.Analyst;
using Encog.App.Analyst.Wizard;

namespace Encog.Examples
{
Expand All @@ -48,7 +57,6 @@ public static ExampleInfo Info
/// <param name="app">Holds arguments and other info.</param>
public void Execute(IExampleInterface app)
{
Console.WriteLine(@"Hello world.");
}

#endregion
Expand Down
2 changes: 1 addition & 1 deletion encog-core-cs/App/Analyst/Wizard/AnalystWizard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ private void ExpandTimeSlices()

// swap back in
oldList.Clear();
foreach (AnalystField item in oldList)
foreach (AnalystField item in newList)
{
oldList.Add(item);
}
Expand Down
6 changes: 6 additions & 0 deletions encog-core-test/encog-core-test.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>-pause test</StartArguments>
</PropertyGroup>
</Project>

0 comments on commit 87b334d

Please sign in to comment.