/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADPathwise.java
} else if( differentialIndex == differentialIndex) {
} else if ( differentialIndex == 1 ) {
resultrandomvariable = X.mult(Y); } break; case DISCOUNT: if(differentialIndex == 0) { resultrandomvariable = Y.mult(Z).add(1.0).invert(); <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: