mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
core: repair CV_Assert() messages
Multi-argument CV_Assert() is accessible via CV_Assert_N() (with malformed messages).
This commit is contained in:
@@ -814,7 +814,7 @@ TEST_P(Layer_Test_DWconv_Prelu, Accuracy)
|
||||
const int group = 3; //outChannels=group when group>1
|
||||
const int num_output = get<1>(GetParam());
|
||||
const int kernel_depth = num_input/group;
|
||||
CV_Assert(num_output >= group, num_output % group == 0, num_input % group == 0);
|
||||
CV_Assert_N(num_output >= group, num_output % group == 0, num_input % group == 0);
|
||||
|
||||
Net net;
|
||||
//layer 1: dwconv
|
||||
|
||||
Reference in New Issue
Block a user