fixed shadowed variable

parent a547d36d
......@@ -38,10 +38,10 @@ bool CompareGrids(vtkUnstructuredGrid *s, vtkUnstructuredGrid *t)
{
return false;
}
for(vtkIdType i = 0; i < sIds->GetNumberOfIds(); ++i)
for(vtkIdType j = 0; i < sIds->GetNumberOfIds(); ++j)
{
vtkIdType sId = sIds->GetId(i);
vtkIdType tId = tIds->GetId(i);
vtkIdType sId = sIds->GetId(j);
vtkIdType tId = tIds->GetId(j);
if(sId != tId) return false;
}
......
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