Skip to content
Snippets Groups Projects
Commit 3c015804 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Correction Streaming : numDivision.

parent f63102e0
No related branches found
No related tags found
No related merge requests found
...@@ -467,11 +467,11 @@ StreamingImageFileWriter<TInputImage> ...@@ -467,11 +467,11 @@ StreamingImageFileWriter<TInputImage>
* Loop over the number of pieces, execute the upstream pipeline on each * Loop over the number of pieces, execute the upstream pipeline on each
* piece, and copy the results into the output image. * piece, and copy the results into the output image.
*/ */
otbGenericMsgDebugMacro(<< "Number Of Stream Divisions : " << numDivisionsFromSplitter); otbMsgDebugMacro(<< "Number Of Stream Divisions : " << numDivisions);
unsigned int piece; unsigned int piece;
for (piece = 0; for (piece = 0;
piece < numDivisionsFromSplitter && !this->GetAbortGenerateData(); piece < numDivisions && !this->GetAbortGenerateData();
piece++) piece++)
{ {
streamRegion = m_RegionSplitter->GetSplit(piece, numDivisions, streamRegion = m_RegionSplitter->GetSplit(piece, numDivisions,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment