[Bug #838] Fix bug

Allow again to grow the allocation so the original number of hours is
respected.

FEA: ItEr70S04BugFixing
This commit is contained in:
Óscar González Fernández 2011-02-08 21:32:19 +01:00
parent 36baa57baa
commit fc02c28e91

View file

@ -138,7 +138,7 @@ public class SigmoidFunction extends AssignmentFunction {
LocalDate day, int hours) {
final LocalDate nextDay = day.plusDays(1);
resourceAllocation.withPreviousAssociatedResources()
.onIntervalWithinTask(day, nextDay).allocateHours(hours);
.onInterval(day, nextDay).allocateHours(hours);
}
private BigDecimal[] roundValues(BigDecimal[] allocatedHoursPerDay,