void
-PScore::problem_OK()
+PScore::problem_OK() const
{
if (!cols.size())
error("PScore::problem_OK(): Score does not have any columns");
PCursor<PCol *> start(cols);
- PCursor<PCol *> end (cols.bottom());
+ PCursor<PCol *> end (((PScore*)this)->cols.bottom());
assert(start->breakable);
assert(end->breakable);
void
PScore::calc_breaking()
{
+ OK();
problem_OK();
PCursor<PCol *> curcol(cols);