From 686a74cf2c36157bdd7d0c6a2c0b20abf9c02a02 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Thu, 1 Feb 2007 22:55:08 +0200 Subject: [PATCH] Remove another zero-length-spring warning. --- lily/spaceable-grob.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2