/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableAAD.java
} else if ( randomVariableInterfaces.length == 3) {
} else if ( randomVariableInterfaces.length == 2 ) {
case SVARIANCE: resultrandomvariable = new RandomVariableFromDoubleArray(X.getSampleVariance()); break; default: throw new IllegalArgumentException(); } <extra_id_0> X = aadRandomVariables[0].getRandomVariableInterface(); Y = aadRandomVariables[1].getRandomVariableInterface(); switch(operator){ case ADD: resultrandomvariable = X.add(Y); break;