]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/least-squares.cc
Run `make grand-replace'.
[lilypond.git] / lily / least-squares.cc
index d95279a54e0d801420b28b6348f3b0f76f2583d1..492f5ff65d47c9694f22fcc2b967d5f934eb879e 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1996--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "least-squares.hh"
@@ -37,7 +37,9 @@ minimise_least_squares (Real *coef, Real *offset,
   Real den = (count * sqx - sqr (sx));
   if (!count || !den)
     {
-      programming_error ("minimise_least_squares ():  Nothing to minimise");
+      programming_error ("minimise_least_squares ():  Nothing to minimise\n"
+                        "This means that vertical spacing is triggered\n"
+                        "before line breaking\n");
       *coef = 0.0;
       *offset = count ? sy / count : 0.0;
     }