Commit acb0d1f7 authored by David Lonie's avatar David Lonie Committed by Kitware Robot

Merge topic 'PV16876-MPIImageReader-crash'

4e9bcb6b Fix typo in vtkMPIImageReader.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland's avatarKenneth Moreland <kmorel@sandia.gov>
Reviewed-by: T.J. Corona's avatarT.J. Corona <tj.corona@kitware.com>
Merge-request: !1910
parents 8bc5f126 4e9bcb6b
......@@ -432,7 +432,7 @@ void vtkMPIImageReader::ExecuteDataWithInformation(vtkDataObject *output,
data->GetIncrements(inIncrements);
vtkDataArray *outputDataArray = data->GetPointData()->GetScalars();
vtkIdType numValues = ( outputDataArray->GetNumberOfComponents()
+ outputDataArray->GetNumberOfTuples() );
* outputDataArray->GetNumberOfTuples() );
outputDataArray->SetName(this->ScalarArrayName);
......
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