/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/FiniteDifferenceDeltaHedgedPortfolio.java
for( int timeIndex = path; timeIndex<timeIndexEvaluationTime; timeIndex++) {
for ( int timeIndex = 0; timeIndex<timeIndexEvaluationTime; timeIndex++ ) {
final RandomVariable numeraireToday = model.getNumeraire(0.0); final double initialValueAsset = underlyingToday.get(0); final double initialValueNumeraire = numeraireToday.get(0); final double valueOfOptionAccordingHedgeModel = productToHedge.getValue(modelUsedForHedging); Arrays.fill(amountOfNumeraireAsset, valueOfOptionAccordingHedgeModel/initialValueNumeraire); Arrays.fill(amountOfUderlyingAsset, 0.0); <extra_id_0> final double time = model.getTime(timeIndex); final RandomVariable underlyingAtTimeIndex = model.getAssetValue(timeIndex,0); final RandomVariable numeraireAtTimeIndex = model.getNumeraire(timeIndex); for(int path=0; path<model.getNumberOfPaths(); path++) { final double underlyingValue = underlyingAtTimeIndex.get(path);