lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB and mpfr/mpc


From: Masamichi HOSODA
Subject: Re: GUB and mpfr/mpc
Date: Fri, 05 Dec 2014 00:02:17 +0900 (JST)

>> There is this at the end of skyline.cc:
>> 
>>      // Should add during ver2.19 (to avoid an endless loop
>>      // when  merging identical skylines with a vertical segment)
>>      // if (end >= s2->front().end_) s2->pop_front();
> 
> I meant at the end of internal_merge_skyline() in skyline.cc. (Fatigue 
> strikes again.)
> 
>> make the code a lot less scaring.
> 
> scary (derp)

I tried the following patch, too.
But bad_alloc occurred.

```
--- a/lily/skyline.cc   2014-12-01 21:31:21.353083100 +0900
+++ b/lily/skyline.cc   2014-12-04 23:46:29.488379900 +0900
@@ -329,7 +329,7 @@
         s1->pop_front ();
       // Should add during ver2.19 (to avoid an endless loop
       // when  merging identical skylines with a vertical segment)
-      // if (end >= s2->front().end_) s2->pop_front();
+      if (end >= s2->front().end_) s2->pop_front();

       x = end;
     }
```



reply via email to

[Prev in Thread] Current Thread [Next in Thread]