Made this bit of code not look crazy

This commit is contained in:
Davis King 2016-06-06 21:18:09 -04:00
parent 992dcd48a6
commit 2412a2570e
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ namespace dlib
for (size_t i = 0; i < grad.size(); ++i)
out[i] = *in++;
for (long i = 1; i < gradient_input.num_samples(); ++i)
for (long j = 1; j < gradient_input.num_samples(); ++j)
{
for (size_t i = 0; i < grad.size(); ++i)
out[i] += *in++;