1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

suppress warning

This commit is contained in:
Tomoaki Teshima
2023-01-23 22:47:43 +09:00
parent 952962a111
commit 186c18668c
@@ -38,8 +38,8 @@ namespace cv { namespace dnn { namespace cuda4dnn {
const std::vector<cv::Ptr<BackendWrapper>>& outputs,
csl::Workspace& workspace) override
{
CV_Assert((inputs.size() == 2 && constTensor.empty() ||
inputs.size() == 1 && !constTensor.empty()) && outputs.size() == 1);
CV_Assert(((inputs.size() == 2 && constTensor.empty()) ||
(inputs.size() == 1 && !constTensor.empty())) && outputs.size() == 1);
auto input1_wrapper = inputs[0].dynamicCast<wrapper_type>();
auto input1 = input1_wrapper->getView();