Fix clang build
authorAlexander Peskov <alexander.peskov@intel.com>
Fri, 10 Jul 2020 11:06:15 +0000 (14:06 +0300)
committerAlexander Peskov <alexander.peskov@intel.com>
Wed, 5 Aug 2020 14:01:35 +0000 (17:01 +0300)
Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
inference-engine/tests/functional/plugin/shared/src/low_precision_transformations/convolution_transformation.cpp

index 19e3e9a1fdbf6168c25bce68103c51e87864eddb..fdd0bb6973eeef28a249f82c0cea71286160d97e 100644 (file)
@@ -98,7 +98,7 @@ void ConvolutionTransformation::validate() {
     std::map<std::string, InferenceEngine::DataPtr>::iterator it = outputs.begin();
     const InferenceEngine::CNNLayerPtr outputLayer = getCreatorLayer(it->second).lock();
     EXPECT_TRUE(outputLayer != nullptr);
-    EXPECT_EQ(fqOnActivations & fqOnWeights ? "ScaleShift" : "Convolution", outputLayer->type);
+    EXPECT_EQ((fqOnActivations & fqOnWeights) ? "ScaleShift" : "Convolution", outputLayer->type);
 
     if (fqOnActivations & fqOnWeights) {
         const InferenceEngine::CNNLayerPtr layer = InferenceEngine::details::CNNNetworkHelper::getParent(*outputLayer);