Browse Source

fix test concat crash

tags/20200226
nihuini 6 years ago
parent
commit
cc006f230a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/testutil.h

+ 1
- 1
tests/testutil.h View File

@@ -209,7 +209,7 @@ int test_layer(int typeindex, const ncnn::ParamDict& pd, const ncnn::ModelBin& m

std::vector<ncnn::Mat> c(top_blob_count);
{
std::vector<ncnn::Mat> a4;
std::vector<ncnn::Mat> a4(a.size());
if (opt.use_packing_layout)
{
for (size_t i=0; i<a.size(); i++)


Loading…
Cancel
Save