diff options
Diffstat (limited to 'src/jcgp/backend/parsers')
-rw-r--r-- | src/jcgp/backend/parsers/ChromosomeParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |