]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spaceable-grob.cc
Make "interpreting" progress indication less verbose
[lilypond.git] / lily / spaceable-grob.cc
index d2326b6afb4adc8646850e9706b2b91421dc64af..806e300cfa5ff714b4ffb9c38192ccae35aec3e4 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "spaceable-grob.hh"
@@ -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;