diff options
Diffstat (limited to 'src/removeoverlap/solve_VPSC.cpp')
| -rw-r--r-- | src/removeoverlap/solve_VPSC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/removeoverlap/solve_VPSC.cpp b/src/removeoverlap/solve_VPSC.cpp index 21865c518..77279c8a8 100644 --- a/src/removeoverlap/solve_VPSC.cpp +++ b/src/removeoverlap/solve_VPSC.cpp @@ -96,7 +96,7 @@ void VPSC::refine() { // Solve shouldn't loop indefinately // ... but just to make sure we limit the number of iterations unsigned maxtries=100; - while(!solved&&maxtries>=0) { + while(!solved&&maxtries>0) { solved=true; maxtries--; for(set<Block*>::const_iterator i=bs->begin();i!=bs->end();++i) { |
