diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
commit | 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 (patch) | |
tree | 98505fe5fbd433eafe74a188f833b71a4627e08f /src/jcgp/backend/resources | |
parent | 9aac9892b5c827e70c4598e0e052d10aad40a2d9 (diff) |
Final commit, will release later today.
Diffstat (limited to 'src/jcgp/backend/resources')
-rw-r--r-- | src/jcgp/backend/resources/ModifiableResources.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jcgp/backend/resources/ModifiableResources.java b/src/jcgp/backend/resources/ModifiableResources.java index 2b0c039..0588c05 100644 --- a/src/jcgp/backend/resources/ModifiableResources.java +++ b/src/jcgp/backend/resources/ModifiableResources.java @@ -304,7 +304,7 @@ public class ModifiableResources extends Resources { if (newValue.intValue() <= 0) { status = ParameterStatus.INVALID; status.setDetails("Levels back must be at least 1."); - } else if (newValue.intValue() > columns.get()) { + } else if (newValue.intValue() > columns()) { status = ParameterStatus.INVALID; status.setDetails("Levels back must be less than or equal to the number of columns."); } else { |