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"
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;