Commit bf1cd7e2 authored by John Tourtellott's avatar John Tourtellott

Change iterator from postincrement to preincrement

parent 5c97e44a
......@@ -755,7 +755,7 @@ int vtkGDALRasterReader::RequestData(vtkInformation* vtkNotUsed(request),
noDataArray->SetName("NO_DATA_VALUE");
noDataArray->SetNumberOfComponents(1);
noDataArray->SetNumberOfTuples(this->Implementation->NumberOfBands);
for (int i=0; i<this->Implementation->NumberOfBands; i++)
for (int i=0; i<this->Implementation->NumberOfBands; ++i)
{
int success = 0;
double noDataValue = this->Implementation->GDALData->GetRasterBand(
......
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