Skip to content

Commit 4c2ecdd

Browse files
committed
Issue jeffheaton#93: fixed array out of range issue.
1 parent 1442fa3 commit 4c2ecdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/encog/app/analyst/commands/CmdEvaluate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public final boolean executeCommand(final String args) {
8989

9090
final MLMethod method = (MLMethod) EncogDirectoryPersistence
9191
.loadObject(resourceFile);
92+
getAnalyst().setMethod(method);
9293

9394
if( method instanceof BayesianNetwork ) {
9495
((BayesianNetwork)method).defineClassificationStructure(query);

0 commit comments

Comments
 (0)