diff --git a/tests/test_binaryop.cpp b/tests/test_binaryop.cpp index 71d477075..7e9f20ce7 100644 --- a/tests/test_binaryop.cpp +++ b/tests/test_binaryop.cpp @@ -33,7 +33,7 @@ static int test_binaryop(const ncnn::Mat& _a, const ncnn::Mat& _b) ncnn::ParamDict pd; pd.set(0, op_type); pd.set(1, 0); // with_scalar - pd.set(11, 0.f); // b + pd.set(2, 0.f); // b std::vector weights(0); @@ -68,7 +68,7 @@ static int test_binaryop(const ncnn::Mat& _a, float b) ncnn::ParamDict pd; pd.set(0, op_type); pd.set(1, 1); // with_scalar - pd.set(11, b); // b + pd.set(2, b); // b std::vector weights(0);