Skip to content
Snippets Groups Projects
Commit 874296aa authored by Menno Deij - van Rijswijk's avatar Menno Deij - van Rijswijk
Browse files

fixed shadowed variable

parent a547d36d
No related branches found
No related tags found
Loading
......@@ -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;
}
......
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