added a missing std:: to max()

This commit is contained in:
Paolo Cignoni 2010-06-23 14:25:08 +00:00
parent 04694569cf
commit f7efa76f35
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ class EdgeCollapse
{
++ VertCnt[vfi.V1()];
++ VertCnt[vfi.V2()];
if(vfi.V1()<vfi.V2()) ++EdgeCnt[make_pair(vfi.V1(),vfi.V2())];
else ++EdgeCnt[make_pair(vfi.V2(),vfi.V1())];
if(vfi.V1()<vfi.V2()) ++EdgeCnt[std::make_pair(vfi.V1(),vfi.V2())];
else ++EdgeCnt[std::make_pair(vfi.V2(),vfi.V1())];
}
// Now a loop to add dummy stuff: add the dummy vertex and two dummy edges
// (and remember to increase the counters for the two boundary vertexes involved)