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