Commit 7ebf783d authored by Cresson Remi's avatar Cresson Remi
Browse files

ENH: fix bug with nodata

parent e1d015ea
......@@ -197,7 +197,7 @@ TensorflowSampler<TInputImage, TVectorData>
for (it.GoToBegin(); !it.IsAtEnd(); ++it)
{
PixelType pix = it.Get();
for (unsigned int band; band<pix.Size(); band++)
for (unsigned int band; band < pix.Size(); band++)
if (pix[band] == m_NodataValue)
{
hasBeenSampled = false;
......
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