Commit dff94ac0 authored by Brian Wylie's avatar Brian Wylie
Browse files

BUG: The Id map between graph and tree was of size graph->NumVertices... I...

BUG: The Id map between graph and tree was of size graph->NumVertices... I believe it should be tree->NumVertices so changed it.
parent 1d52ef77
......@@ -34,7 +34,7 @@
#include <vtksys/stl/map>
using vtksys_stl::map;
vtkCxxRevisionMacro(vtkGraphHierarchicalBundle, "1.2");
vtkCxxRevisionMacro(vtkGraphHierarchicalBundle, "1.3");
vtkStandardNewMacro(vtkGraphHierarchicalBundle);
vtkGraphHierarchicalBundle::vtkGraphHierarchicalBundle()
......@@ -160,7 +160,7 @@ int vtkGraphHierarchicalBundle::RequestData(
vtkExtendedTemplateMacro(mappingMadness(static_cast<VTK_TT*>(graphVoid),
static_cast<VTK_TT*>(treeVoid),
&graphIndexToTreeIndex,
graph->GetNumberOfVertices()));
tree->GetNumberOfVertices()));
}
}
......
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