Merge pull request #11419 from alalek:msvs2017_build_warning

pull/11436/head
Alexander Alekhin 7 years ago
commit c67613e0fe
  1. 4
      modules/dnn/src/layers/prior_box_layer.cpp

@ -205,7 +205,9 @@ public:
if (_explicitSizes)
{
CV_Assert(_aspectRatios.empty(), !params.has("min_size"), !params.has("max_size"));
CV_Assert(_aspectRatios.empty());
CV_Assert(!params.has("min_size"));
CV_Assert(!params.has("max_size"));
_boxWidths = widths;
_boxHeights = heights;
}

Loading…
Cancel
Save