/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/RandomVariableDifferentiableAAD.java
} else {
} else if ( differentialIndex == 1 ) {
derivative = X.mult(Y); } break; case DISCOUNT: if(differentialIndex == 0) { derivative = Y.mult(Z).add(1.0).invert(); <extra_id_0> derivative = X.mult(Z).div(Y.mult(Z).add(1.0).squared()).mult(-1.0); } else { derivative = X.mult(Y).div(Y.mult(Z).add(1.0).squared()).mult(-1.0); } break; case CHOOSE: