From: Han-Wen Nienhuys Date: Mon, 25 Oct 2004 20:55:09 +0000 (+0000) Subject: (LY_DEFINE): for ragged, we can end with X-Git-Tag: release/2.3.25~12 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=33404420001d3576243cb1eaac3511adfd5252bd;p=lilypond.git (LY_DEFINE): for ragged, we can end with all springs tight, and still satisfy the constraints. --- diff --git a/ChangeLog b/ChangeLog index 5dbb46b742..f57954dcd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-25 Han-Wen Nienhuys + + * lily/simple-spacer.cc (LY_DEFINE): for ragged, we can end with + all springs tight, and still satisfy the constraints. + 2004-10-25 Werner Lemberg * scripts/lilypond-book.py: s/option-sep/option_sep/. diff --git a/lily/simple-spacer.cc b/lily/simple-spacer.cc index 3026e48895..eb20f0b1da 100644 --- a/lily/simple-spacer.cc +++ b/lily/simple-spacer.cc @@ -308,7 +308,7 @@ LY_DEFINE(ly_solve_spring_rod_problem, "ly:solve-spring-rod-problem", SCM force_return = SCM_BOOL_F; if (!isinf (spacer.force_) - && spacer.is_active ()) + && (spacer.is_active () || is_ragged)) { force_return = scm_from_double (spacer.force_); }