Commit a32394b9 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'correct_capitalization_in_datasetwriter'

1d816534

 Local var for the array portal instead of inside the for loop.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1029
parents f97f5a6e 1d816534
......@@ -193,8 +193,9 @@ private:
vtkm::Id nids = cellSet.GetNumberOfPointsInCell(i);
cellSet.GetIndices(i, ids);
out << nids;
auto IdPortal = ids.GetPortalConstControl();
for (int j = 0; j < nids; ++j)
out << " " << ids.GetPortalControl().Get(j);
out << " " << IdPortal.Get(j);
out << std::endl;
}
......
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