From 58862bb2014045e8ee9a96a85f5155c898153c4e Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 22 Dec 2010 20:31:38 +0000 Subject: [PATCH] Removed a bit of code that didn't actually do anything. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404009 --- dlib/optimization/optimization_solve_qp2_using_smo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dlib/optimization/optimization_solve_qp2_using_smo.h b/dlib/optimization/optimization_solve_qp2_using_smo.h index d85f09b97..2947f93c5 100644 --- a/dlib/optimization/optimization_solve_qp2_using_smo.h +++ b/dlib/optimization/optimization_solve_qp2_using_smo.h @@ -400,10 +400,7 @@ namespace dlib j_out = jn; } - if (j_out >= 0 && i_out >= 0) - return true; - else - return false; + return true; } // ------------------------------------------------------------------------------------