Fixed impl of cond. expectation.
Removed average (was there for testing, slipped in).
@@ -685,7 +685,7 @@ public class RandomVariableDifferentiableAAD implements RandomVariableDifferenti
public RandomVariableInterface getConditionalExpectation(ConditionalExpectationEstimatorInterface estimator) {
return new RandomVariableDifferentiableAAD(
- getValues().average(),
+ getValues(),
Arrays.asList(new RandomVariableInterface[]{ this }),
estimator,
OperatorType.CONDITIONAL_EXPECTATION);
