Removed superfluous synchronized.
@@ -130,7 +130,6 @@ public class RandomVariableDifferentiableAAD implements RandomVariableDifferenti
private void propagateDerivativesFromResultToArgument(Map<Long, RandomVariableInterface> derivatives) {
if(arguments == null) return;
- synchronized (derivatives) {
for(OperatorTreeNode argument : arguments) {
if(argument != null) {
Long argumentID = argument.id;
@@ -160,7 +159,6 @@ public class RandomVariableDifferentiableAAD implements RandomVariableDifferenti
}
}
}
- }
private RandomVariableInterface getPartialDerivative(OperatorTreeNode differential) {
