Skip to content

Commit

Permalink
issue 768 resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kurilov committed Aug 19, 2016
1 parent 0bf646a commit f40a57c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ public ForJob(final AppConfig appConfig, final Map<String, Object> subTree) {
}
if(start < end) {
LOG.info(
Markers.MSG, "Parsed loop range: {} = {}, {} < {}, {} += {}",
Markers.MSG, "Parsed loop range: {} = {}, {} <= {}, {} += {}",
replaceMarkerName, start, replaceMarkerName, end,
replaceMarkerName, step
);
for(double i = start; i < end; i += step) {
for(double i = start; i <= end; i += step) {
if(i == (long) i) {
valueSeq.add((long) i);
} else {
Expand All @@ -115,11 +115,11 @@ public ForJob(final AppConfig appConfig, final Map<String, Object> subTree) {
}
} else {
LOG.info(
Markers.MSG, "Parsed loop range: {} = {}, {} > {}, {} -= {}",
Markers.MSG, "Parsed loop range: {} = {}, {} => {}, {} -= {}",
replaceMarkerName, start, replaceMarkerName, end,
replaceMarkerName, step
);
for(double i = start; i > end; i -= step) {
for(double i = start; i >= end; i -= step) {
if(i == (long) i) {
valueSeq.add((long) i);
} else {
Expand Down

0 comments on commit f40a57c

Please sign in to comment.