/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableAAD.java
} else if( variableIndex == getParentIDs( ) [1]) { resultrandomvariable = Y.mult( Z).add( 1.0).invert( ) ;
resultrandomvariable = Y.mult ( Z ) .add ( 1.0 ) .invert ( ) ; } else if ( variableIndex == getParentIDs ( ) [1] ) {
} else { resultrandomvariable = X.mult(Y); } break; case DISCOUNT: if(variableIndex == getParentIDs()[0]){ <extra_id_0> resultrandomvariable = X.mult(Z).div(Y.mult(Z).add(1.0).squared()); } else { resultrandomvariable = X.mult(Y).div(Y.mult(Z).add(1.0).squared()); } break; case BARRIER: