Commit b3fde8f5 authored by Dave Partyka's avatar Dave Partyka Committed by Kitware Robot
Browse files

Merge topic 'speedy-cosmo-reader' into pv-master

906fb9cc Didn't actually allocate the memory (Thanks Kyle!).
parents 4107f777 906fb9cc
......@@ -302,7 +302,7 @@ int vtkPCosmoReader::RequestData(
vtkCellArray* cells = vtkCellArray::New();
cells->EstimateSize(numberOfParticles, 1);
cells->Allocate(cells->EstimateSize(numberOfParticles, 1));
vtkFloatArray* vel = vtkFloatArray::New();
Supports Markdown
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