Commit 7915505c authored by Robert Maynard's avatar Robert Maynard Committed by Code Review
Browse files

Merge topic 'vtkFLUENTReader_array_indexing_12683' into master

0a2836c7 Fix off by one error in vtkFLUENTReader::GetCellsAscii().
parents 2193b802 0a2836c7
......@@ -2666,7 +2666,7 @@ void vtkFLUENTReader::GetCellsAscii()
vtksys_ios::stringstream pdatastream(pdata);
for (int i = firstIndex; i <=lastIndex; i++)
{
pdatastream >> this->Cells->value[i].type;
pdatastream >> this->Cells->value[i-1].type;
this->Cells->value[i-1].zone = zoneId;
this->Cells->value[i-1].parent = 0;
this->Cells->value[i-1].child = 0;
......
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