Skip to content

Commit

Permalink
Merge pull request opencv#23173 from tomoaki0705:fix_warning_master
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jan 23, 2023
2 parents 18cbfa4 + 186c186 commit 8ffc06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnn/src/cuda4dnn/primitives/matmul.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8ffc06f

Please sign in to comment.