[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Black mensural notation
From: |
Neil Puttock |
Subject: |
Re: Black mensural notation |
Date: |
Fri, 7 Jan 2011 21:36:42 +0000 |
On 7 January 2011 20:33, Neil Puttock <address@hidden> wrote:
> On 7 January 2011 20:27, Benkő Pál <address@hidden> wrote:
>
>> it may be related to Joe's recent patch 777066 about page
>> breaking. I can't compile my larger scores, it stops at the
>> same message and memory usage goes to the skies. I wanted
>> to investigate it a bit more, but if anybody beats me...
>
> I'm looking at it at the moment. :)
This seems to work (at least, the regtests are OK and it doesn't
appear to break the interaction between page-count and
systems-per-page):
diff --git a/lily/page-breaking.cc b/lily/page-breaking.cc
index e6a5740..af41363 100644
--- a/lily/page-breaking.cc
+++ b/lily/page-breaking.cc
@@ -712,7 +712,7 @@ Page_breaking::system_count_bounds
(vector<Break_position> const &chunks,
assert (chunks.size () >= 2);
Line_division ret;
- ret.resize (chunks.size () - 1, 0);
+ ret.resize (chunks.size () - 1, 1);
for (vsize i = 0; i + 1 < chunks.size (); i++)
{
@@ -812,7 +812,7 @@ Page_breaking::set_to_ideal_line_configuration
(vsize start, vsize end)
div.push_back (line_breaking_[sys].best_solution (start, end).size
());
}
else
- div.push_back (0);
+ div.push_back (1);
system_count_ += div.back ();
}
@@ -849,7 +849,7 @@ Page_breaking::cache_line_details (vsize
configuration_index)
}
else
{
- assert (div[i] == 0);
+ assert (div[i] == 1);
uncompressed_line_details_.push_back (system_specs_[sys].prob_
? Line_details
(system_specs_[sys].prob_, book_->paper_)
: Line_details ());
I don't know why, though. :)
Cheers,
Neil
- Black mensural notation, Lukas Pietsch, 2011/01/04
- Re: Black mensural notation, Werner LEMBERG, 2011/01/04
- Re: Black mensural notation, Lukas Pietsch, 2011/01/04
- Re: Black mensural notation, Andrew Hawryluk, 2011/01/06
- Re: Black mensural notation, Neil Puttock, 2011/01/07
- Re: Black mensural notation, Lukas Pietsch, 2011/01/07
- RE: Black mensural notation, James Lowe, 2011/01/07
- Re: Black mensural notation, Neil Puttock, 2011/01/07
- Re: Black mensural notation, Benkő Pál, 2011/01/07
- Re: Black mensural notation, Neil Puttock, 2011/01/07
- Re: Black mensural notation,
Neil Puttock <=
- Re: Black mensural notation, Benkő Pál, 2011/01/07
- Re: Black mensural notation, Benkő Pál, 2011/01/16
- Re: Black mensural notation, Boris Shingarov, 2011/01/23
- Re: Black mensural notation, Carl Sorensen, 2011/01/23
- RE: Black mensural notation, James Lowe, 2011/01/07
- RE: Black mensural notation, James Lowe, 2011/01/07
- RE: Black mensural notation, Lukas Pietsch, 2011/01/07
- Re: Black mensural notation, Carl Sorensen, 2011/01/07
- Re: Black mensural notation, Lukas Pietsch, 2011/01/07
- Re: Black mensural notation, Benkő Pál, 2011/01/07