From b95816c9949d726195380bf7bceab50fb1bc0b34 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Tue, 10 Jul 2007 17:44:13 +1000 Subject: [PATCH] fix 375 ensure that stem extents are non-empty for the tie-formatting-problem --- lily/tie-formatting-problem.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lily/tie-formatting-problem.cc b/lily/tie-formatting-problem.cc index 3a8ed37a62..935a1e018c 100644 --- a/lily/tie-formatting-problem.cc +++ b/lily/tie-formatting-problem.cc @@ -171,6 +171,7 @@ Tie_formatting_problem::set_column_chord_outline (vector bounds, Real x_center = head->extent (x_refpoint_, X_AXIS).center (); Interval x_ext; x_ext[-dir] = x_center; + x_ext[dir] = infinity_f * dir; Interval y_ext; for (vsize j = 0; j < head_boxes.size (); j++) y_ext.unite (head_boxes[j][Y_AXIS]); -- 2.39.5