]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/qlp.cc
release: 0.0.42
[lilypond.git] / lily / qlp.cc
index e6696acf39966b4a25c72a77f70d89f67d898370..7eac50596c3ef030d3f1332886d7778f994c014e 100644 (file)
@@ -57,6 +57,9 @@ Ineq_constrained_qp::eval (Vector v)
 Vector
 Mixed_qp::solve(Vector start) const 
 {
+    if (!dim())
+       return Vector(0);
+    
     print();
     Ineq_constrained_qp pure(*this);