MLCE-67 Fix for Github issue 91
authorMatthew Bentham <matthew.bentham@arm.com>
Tue, 30 Oct 2018 09:42:07 +0000 (09:42 +0000)
committerMatthew Bentham <matthew.bentham@arm.com>
Tue, 30 Oct 2018 09:42:15 +0000 (09:42 +0000)
Remove incorrect early out from image resize

Change-Id: I58014680f5cbe43dfc6b4af66638db67c070a146

tests/InferenceTestImage.cpp

index 31ba49a..c305d43 100644 (file)
@@ -219,12 +219,6 @@ std::vector<float> InferenceTestImage::Resize(unsigned int newWidth,
             "operation can be zero. Requested width: %1%. Requested height: %2%.") % newWidth % newHeight));
     }
 
-    if (newWidth == m_Width && newHeight == m_Height)
-    {
-        // Nothing to do.
-        return out;
-    }
-
     switch (meth) {
         case ResizingMethods::STB:
         {