Commit 9c09cc1b authored by Cresson Remi's avatar Cresson Remi

FIX: wrong patch height check

parent 4f0bb387
......@@ -104,12 +104,6 @@ public:
if (size2[0] != size1[0])
otbAppLogFATAL("Input patches images must have the same width!");
unsigned int pszy1 = size1[1] / GetParameterInt("patches.sizey");
unsigned int pszy2 = size2[1] / GetParameterInt("patches.sizey");
if (pszy1 != pszy2)
otbAppLogFATAL("Patches must have the same height!");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment