diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-30 09:42:07 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-30 09:42:15 +0000 |
commit | 0022a465be6e3ef57741363276abd591518173bc (patch) | |
tree | 28edb7a1a9d32d1f0e39076b81457d8cfaaa046b | |
parent | 4322d36a2d6d9fca16a661019b8c5dac0c1e81ec (diff) | |
download | armnn-0022a465be6e3ef57741363276abd591518173bc.tar.gz |
MLCE-67 Fix for Github issue 91
Remove incorrect early out from image resize
Change-Id: I58014680f5cbe43dfc6b4af66638db67c070a146
-rw-r--r-- | tests/InferenceTestImage.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/InferenceTestImage.cpp b/tests/InferenceTestImage.cpp index 31ba49ac80..c305d43277 100644 --- a/tests/InferenceTestImage.cpp +++ b/tests/InferenceTestImage.cpp @@ -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: { |