From c35a6806df01481c1b169cd0fc47660ea1cc10fb Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Wed, 14 May 2014 01:32:51 +0100 Subject: Refactored Mutable, commented a little bit of the GUI package --- src/jcgp/backend/parsers/ChromosomeParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jcgp/backend/parsers') diff --git a/src/jcgp/backend/parsers/ChromosomeParser.java b/src/jcgp/backend/parsers/ChromosomeParser.java index 6106dbd..b892182 100644 --- a/src/jcgp/backend/parsers/ChromosomeParser.java +++ b/src/jcgp/backend/parsers/ChromosomeParser.java @@ -117,7 +117,7 @@ public abstract class ChromosomeParser { newConnection = chromosome.getNode((gene - resources.inputs()) % resources.rows(), (gene - resources.inputs()) / resources.rows()); } - chromosome.getOutput(o).setConnection(0, newConnection); + chromosome.getOutput(o).setSource(newConnection); } in.close(); -- cgit v1.2.3