[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;
}
```
- Re: GUB and mpfr/mpc, Masamichi HOSODA, 2014/12/01
- Re: GUB and mpfr/mpc, David Kastrup, 2014/12/01
- Re: GUB and mpfr/mpc, Trevor Daniels, 2014/12/01
- Re: GUB and mpfr/mpc, Masamichi HOSODA, 2014/12/02
- Re: GUB and mpfr/mpc, Masamichi HOSODA, 2014/12/04
- Re: GUB and mpfr/mpc, Dan Eble, 2014/12/04
- Re: GUB and mpfr/mpc, Masamichi HOSODA, 2014/12/05
- Re: GUB and mpfr/mpc, David Kastrup, 2014/12/05
- Re: GUB and mpfr/mpc, Dan Eble, 2014/12/05
- Re: GUB and mpfr/mpc, David Kastrup, 2014/12/06
- Re: GUB and mpfr/mpc, Dan Eble, 2014/12/06
- Re: GUB and mpfr/mpc, Masamichi HOSODA, 2014/12/08
- Re: GUB and mpfr/mpc, David Kastrup, 2014/12/08
- Re: GUB and mpfr/mpc, Dan Eble, 2014/12/08