]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove another zero-length-spring warning.
authorJoe Neeman <joeneeman@gmail.com>
Thu, 1 Feb 2007 20:55:08 +0000 (22:55 +0200)
committerJoe Neeman <joeneeman@gmail.com>
Thu, 1 Feb 2007 20:55:08 +0000 (22:55 +0200)
lily/spaceable-grob.cc

index ad6e7d61812bb9f959c6a5c806c50cd9f1abfdfc..806e300cfa5ff714b4ffb9c38192ccae35aec3e4 100644 (file)
@@ -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;