Browse Source

fix #1107

tags/20190908
nihui GitHub 6 years ago
parent
commit
a7490fd71a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/layer/reduction.cpp

+ 1
- 1
src/layer/reduction.cpp View File

@@ -162,7 +162,7 @@ static int reduction_op(const Mat& a, Mat& b, float v0, int dim, float coeff, co
{
for (int j=0; j<w; j++)
{
mins_ptr[j] = op(mins_ptr[j], ptr[i]);
mins_ptr[j] = op(mins_ptr[j], ptr[j]);
}

ptr += w;


Loading…
Cancel
Save