diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-02-14 18:13:21 +0000 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-02-14 18:13:21 +0000 |
commit | afa484021ba94d12e98da682a9ff69c3837d5dbb (patch) | |
tree | 2150c437cb74ccf141f8cfde228ebf5dd442314a /src/jcgp/population/Chromosome.java | |
parent | 6419b69faeb4736db1ccb50cfa5a030f9aa818aa (diff) |
Generic data type functionality implemented. All tests were refactored to reflect this, and some chromosome tests were rewritten with more rigorous assertions.
Diffstat (limited to 'src/jcgp/population/Chromosome.java')
-rw-r--r-- | src/jcgp/population/Chromosome.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jcgp/population/Chromosome.java b/src/jcgp/population/Chromosome.java index f61b780..12a8978 100644 --- a/src/jcgp/population/Chromosome.java +++ b/src/jcgp/population/Chromosome.java @@ -158,7 +158,7 @@ public class Chromosome { * @param values * @throws ParameterMismatchException */ - public void setInputs(int ... values) throws ParameterMismatchException { + public void setInputs(Object ... values) throws ParameterMismatchException { // if the values provided don't match the specified number of inputs, the user should be warned if (values.length == inputs.length) { // set inputs for evaluation |