# HG changeset patch # User jwe # Date 1114526500 0 # Node ID 63cf9851f55cd03942a77ed3a38378b28e019dd5 # Parent 539428e4606afecfc01138baf4656595bc36e3c9 [project @ 2005-04-26 14:41:40 by jwe] diff --git a/scripts/optimization/qp.m b/scripts/optimization/qp.m --- a/scripts/optimization/qp.m +++ b/scripts/optimization/qp.m @@ -240,7 +240,7 @@ && all (abs (P(n-n_eq+1:end)) < rtol * (1 + norm (btmp)))) ## We found a feasible starting point if (n_eq > 0) - x0 = xbar + Z*P(1:n-n_eq) + x0 = xbar + Z*P(1:n-n_eq); else x0 = P(1:n); endif