/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/RandomVariableDifferentiableAAD.java
derivative = derivative.average ( ) ; break;
final Long argumentID = argument.id; final RandomVariable partialDerivative = getPartialDerivative(argument, argumentIndex); RandomVariable derivative = derivatives.get(id); RandomVariable argumentDerivative = derivatives.get(argumentID); switch(operatorType) { case AVERAGE: <extra_id_0> case CONDITIONAL_EXPECTATION: final ConditionalExpectationEstimator estimator = (ConditionalExpectationEstimator)operator; derivative = estimator.getConditionalExpectation(derivative); break; case CHOOSE: if(argumentIndex == 0 && (factory.getDiracDeltaApproximationMethod() == DiracDeltaApproximationMethod.REGRESSION_ON_DENSITY || factory.getDiracDeltaApproximationMethod() == DiracDeltaApproximationMethod.REGRESSION_ON_DISTRIBUITON)) {