diff --git a/src/lstm/input.cpp b/src/lstm/input.cpp index a104198cff..73b584b3ab 100644 --- a/src/lstm/input.cpp +++ b/src/lstm/input.cpp @@ -2,7 +2,6 @@ // File: input.cpp // Description: Input layer class for neural network implementations. // Author: Ray Smith -// Created: Thu Mar 13 09:10:34 PDT 2014 // // (C) Copyright 2014, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); @@ -93,7 +92,7 @@ Pix* Input::PrepareLSTMInputs(const ImageData& image_data, tprintf("Bad pix from ImageData!\n"); return nullptr; } - if (width <= min_width || height < min_width) { + if (width < min_width || height < min_width) { tprintf("Image too small to scale!! (%dx%d vs min width of %d)\n", width, height, min_width); pixDestroy(&pix);