/src/main/java/net/finmath/montecarlo/process/EulerSchemeFromProcessModel.java
for ( int componentIndex = 1; componentIndex < numberOfComponents; componentIndex++) {
for ( int componentIndex = 0; componentIndex < numberOfComponents; componentIndex++ ) {
final int numberOfComponents = this.getNumberOfComponents(); discreteProcess = new RandomVariable[getTimeDiscretization().getNumberOfTimeSteps() + 1][getNumberOfComponents()]; discreteProcessWeights = new RandomVariable[getTimeDiscretization().getNumberOfTimeSteps() + 1]; discreteProcessWeights[0] = stochasticDriver.getRandomVariableForConstant(1.0 / numberOfPaths); final RandomVariable[] initialState = getInitialState(); final RandomVariable[] currentState = new RandomVariable[numberOfComponents]; <extra_id_0> currentState[componentIndex] = initialState[componentIndex]; discreteProcess[0][componentIndex] = applyStateSpaceTransform(0, componentIndex, currentState[componentIndex]); } executor = Executors.newCachedThreadPool(); for (int timeIndex2 = 1; timeIndex2 < getTimeDiscretization().getNumberOfTimeSteps()+1; timeIndex2++) { final int timeIndex = timeIndex2;