From: Han-Wen Nienhuys Date: Wed, 24 Jan 2007 11:26:22 +0000 (+0100) Subject: elucidate minimize least_sq error message. X-Git-Tag: release/2.11.14-1~42 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6e869a4054699187257d1efe9be2a5dad1cce253;p=lilypond.git elucidate minimize least_sq error message. --- diff --git a/lily/least-squares.cc b/lily/least-squares.cc index d95279a54e..582e5b0dcb 100644 --- a/lily/least-squares.cc +++ b/lily/least-squares.cc @@ -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; }