diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-14 01:32:51 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-14 01:32:51 +0100 |
commit | c35a6806df01481c1b169cd0fc47660ea1cc10fb (patch) | |
tree | 7a9a90d88a9b962bcc091533997df798ac454423 /src/jcgp/backend/parsers | |
parent | 95b4a9421923cec63b6e0e8f58972d146100bd0f (diff) |
Refactored Mutable, commented a little bit of the GUI package
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(); |