From: Joe Neeman Date: Thu, 1 Feb 2007 20:55:08 +0000 (+0200) Subject: Remove another zero-length-spring warning. X-Git-Tag: release/2.11.16-1^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=686a74cf2c36157bdd7d0c6a2c0b20abf9c02a02;p=lilypond.git Remove another zero-length-spring warning. --- diff --git a/lily/spaceable-grob.cc b/lily/spaceable-grob.cc index ad6e7d6181..806e300cfa 100644 --- a/lily/spaceable-grob.cc +++ b/lily/spaceable-grob.cc @@ -59,7 +59,7 @@ void Spaceable_grob::add_spring (Grob *me, Grob *other, Real distance, Real inverse_strength) { - if (distance <= 0.0 || inverse_strength < 0.0) + if (distance < 0.0 || inverse_strength < 0.0) { programming_error ("adding reverse spring, setting to unit"); distance = 1.0;