From be33b17955cd4e6fda3050fa3056a6e56ce314bc Mon Sep 17 00:00:00 2001 From: Tim Dwyer Date: Mon, 17 Jul 2006 06:03:13 +0000 Subject: cleanup, remove warnings (bzr r1429) --- src/libvpsc/solve_VPSC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libvpsc/solve_VPSC.cpp') diff --git a/src/libvpsc/solve_VPSC.cpp b/src/libvpsc/solve_VPSC.cpp index ff0ff96bf..ec2c48d46 100644 --- a/src/libvpsc/solve_VPSC.cpp +++ b/src/libvpsc/solve_VPSC.cpp @@ -96,7 +96,7 @@ void Solver::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::const_iterator i=bs->begin();i!=bs->end();++i) { -- cgit v1.2.3