Commit d91ecf98 authored by Berk Geveci's avatar Berk Geveci
Browse files

BUG: Was using the wrong extent in computation.

parent 005e70d3
......@@ -634,7 +634,7 @@ int vtkMultiBlockPLOT3DReader::ReadVector(
void* vfp, int extent[6], int wextent[6],
int numDims, vtkDataArray* vector, vtkTypeUInt64 offset)
vtkIdType n = vtkStructuredData::GetNumberOfPoints(wextent);
vtkIdType n = vtkStructuredData::GetNumberOfPoints(extent);
vtkIdType nValues = n*numDims;
FILE* fp = reinterpret_cast<FILE*>(vfp);
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