/src/main/java/net/finmath/montecarlo/interestrate/products/components/AccrualAccount.java
final double   currentAccrualPeriod = Math.min( accrualPeriod , currentAccrualPeriod-time) ;
final double   currentAccrualPeriod = Math.min ( accrualPeriod , evaluationTime-time ) ;
if(evaluationTime <= 0) { return pastFixings.getValue(evaluationTime, model); } RandomVariable value = pastFixings.getValue(0.0, model); for(double time=0.0; time<evaluationTime; time += accrualPeriod) { final RandomVariable forwardRate = accrualIndex.getValue(time, model); <extra_id_0> value = value.accrue(forwardRate, currentAccrualPeriod); } return value; } }