Commits (1)
...@@ -220,7 +220,7 @@ gradient_layer (size_t n_inputs, const double *restrict inputs, ...@@ -220,7 +220,7 @@ gradient_layer (size_t n_inputs, const double *restrict inputs,
abs_g = -g; abs_g = -g;
} }
weights[i_weight++] -= learning_rate * g; weights[i_weight++] -= learning_rate * g;
*sum_updates += abs_g; *sum_updates += learning_rate * abs_g;
*n_updates += 1.0; *n_updates += 1.0;
} }
} }
......