/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableDifferentiableAADStochasticNonOptimized.java
} derivatives.put( argumentID, argumentDerivative) ;
derivatives.put ( argumentID, argumentDerivative ) ; }
derivatives.put(argumentID, new RandomVariableFromDoubleArray(0.0)); } final RandomVariable partialDerivative = getPartialDerivative(argument); final RandomVariable derivative = derivatives.get(id); RandomVariable argumentDerivative = derivatives.get(argumentID); argumentDerivative = argumentDerivative.addProduct(partialDerivative, derivative); <extra_id_0> } } private RandomVariable getPartialDerivative(final OperatorTreeNode differential){ if(!arguments.contains(differential)) { return new RandomVariableFromDoubleArray(0.0); }