aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/InferenceTestImage.cpp6
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:
{