Skip to content
Snippets Groups Projects
Commit a011ee0f authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Commited some test changes, reverted back

parent 9b2c53c2
No related branches found
No related tags found
No related merge requests found
......@@ -130,11 +130,11 @@ PolygonToPolygonRCC8Calculator<TInputPolygon>
{
for(unsigned int dim = 0; dim<RegionType::ImageDimension;++dim)
{
if(region1.GetIndex()[dim]+region1.GetSize()[dim]-1 < region2.GetIndex()[dim])
if(region1.GetIndex()[dim]+static_cast<int>(region1.GetSize()[dim]) < region2.GetIndex()[dim])
{
return true;
}
else if(region2.GetIndex()[dim]+region2.GetSize()[dim]-1 < region1.GetIndex()[dim])
else if(region2.GetIndex()[dim]+static_cast<int>(region2.GetSize()[dim]) < region1.GetIndex()[dim])
{
return true;
}
......
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