/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
if ( !( derivatives.containsKey( argumentID) ) ) {   derivatives.put( argumentID, new RandomVariableFromDoubleArray( 0.0) ) ; }
[Delete]
} private void propagateDerivativesFromResultToArgument(final Map<Long, RandomVariable> derivatives) { for(final OperatorTreeNode argument : arguments) { if(argument != null) { final Long argumentID = argument.id; if(!derivatives.containsKey(argumentID)) { <extra_id_0> } final RandomVariable partialDerivative = getPartialDerivative(argument); final RandomVariable derivative = derivatives.get(id); RandomVariable argumentDerivative = derivatives.get(argumentID); argumentDerivative = argumentDerivative.addProduct(partialDerivative, derivative); derivatives.put(argumentID, argumentDerivative);