From: fred Date: Sun, 24 Mar 2002 19:59:46 +0000 (+0000) Subject: lilypond-0.1.57 X-Git-Tag: release/1.5.59~3766 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cec28ef0135976fb01f12e0b0812ad95039d7215;p=lilypond.git lilypond-0.1.57 --- diff --git a/lily/qlp.cc b/lily/qlp.cc index 7a99cc639f..635cba40a0 100644 --- a/lily/qlp.cc +++ b/lily/qlp.cc @@ -9,6 +9,7 @@ #include "debug.hh" #include "qlp.hh" + void Mixed_qp::add_equality_cons (Vector , double) { @@ -57,9 +58,9 @@ void Ineq_constrained_qp::assert_solution (Vector sol) const { Array binding; - for (int i=0; i < cons.size(); i++) + for (int i=0; i < cons_.size(); i++) { - Real R=cons[i] * sol- consrhs[i]; + Real R=cons_[i] * sol- consrhs_[i]; assert (R> -EPS); if (R < EPS) binding.push (i); @@ -72,12 +73,12 @@ void Ineq_constrained_qp::print() const { #ifndef NPRINT - DOUT << "Quad " << quad; - DOUT << "lin " << lin <<"\n" - << "const " << const_term<<"\n"; - for (int i=0; i < cons.size(); i++) + DOUT << "Quad " << quad_; + DOUT << "lin " << lin_ <<"\n" + << "const " << const_term_<<"\n"; + for (int i=0; i < cons_.size(); i++) { - DOUT << "constraint["<= " << consrhs[i]; + DOUT << "constraint["<= " << consrhs_[i]; DOUT << "\n"; } #endif