Commit b3e4f0c0 authored by Jeff Baumes's avatar Jeff Baumes
Browse files

COMP: Fixing vtkIdType vs. int mismatch.

parent cb616845
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
using vtksys_stl::vector; using vtksys_stl::vector;
vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.1"); vtkCxxRevisionMacro(vtkDirectedAcyclicGraph, "1.2");
vtkStandardNewMacro(vtkDirectedAcyclicGraph); vtkStandardNewMacro(vtkDirectedAcyclicGraph);
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph() vtkDirectedAcyclicGraph::vtkDirectedAcyclicGraph()
...@@ -59,7 +59,7 @@ enum { DFS_WHITE, DFS_GRAY, DFS_BLACK }; ...@@ -59,7 +59,7 @@ enum { DFS_WHITE, DFS_GRAY, DFS_BLACK };
bool vtkDirectedAcyclicGraphDFSVisit( bool vtkDirectedAcyclicGraphDFSVisit(
vtkGraph *g, vtkGraph *g,
vtkIdType u, vtkIdType u,
vtksys_stl::vector<vtkIdType> color, vtksys_stl::vector<int> color,
vtkOutEdgeIterator *adj) vtkOutEdgeIterator *adj)
{ {
color[u] = DFS_GRAY; color[u] = DFS_GRAY;
......
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