Fixed couple of MSVC warnings

This commit is contained in:
Andrey Kamaev
2012-04-10 22:21:12 +00:00
parent b122f7326b
commit 626afecaf8
5 changed files with 27 additions and 26 deletions

View File

@@ -96,7 +96,7 @@ void FastMarchingMethod::heapUp(int idx)
void FastMarchingMethod::heapDown(int idx)
{
int l, r, smallest;
while (true)
for(;;)
{
l = 2*idx+1;
r = 2*idx+2;