Skip to content
Snippets Groups Projects
Commit 63533d6d authored by Zack Galbreath's avatar Zack Galbreath
Browse files

minor cleanup

remove debug message, plug memory leak

Change-Id: If9fc08f0e046bcf89c0d14efc377b12d1a278605
parent 1682dea4
No related branches found
No related tags found
No related merge requests found
......@@ -731,7 +731,6 @@ vtkTree* vtkRAdapter::RToVTKTree(SEXP variable)
weights->SetValue(0, 0.0);//root edge weight = 0.0
for (int i = 0; i < nedge; i++)
{
cout << "(debug) edge weight #" << i << ": " << edge_length[i] << endl;
weights->SetValue(i+1, edge_length[i]);
}
builder->GetEdgeData()->AddArray(weights.GetPointer());
......
......@@ -341,6 +341,7 @@ int vtkRCalculatorFilter::RequestData(vtkInformation *vtkNotUsed(request),
outComposite->SetDataSet(iter, outComponent);
outComponent->Delete();
}
iter->Delete();
}
// For now: use the first input information for timing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment