Browse Source

fix parameter check for interp (#425)

tags/20180704
kyuusaku nihui 8 years ago
parent
commit
d2416187dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/layer/interp.cpp

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

@@ -48,7 +48,7 @@ int Interp::forward(const Mat &bottom_blob, Mat &top_blob) const
w = 1;
c = bottom_blob.w;
}
if (ow == 0 || ow == 0)
if (oh == 0 || ow == 0)
{
oh = h * height_scale;
ow = w * width_scale;


Loading…
Cancel
Save