From 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Thu, 22 May 2014 07:44:52 +0100 Subject: Final commit, will release later today. --- src/jcgp/backend/resources/ModifiableResources.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jcgp/backend/resources') 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 { -- cgit v1.2.3