lilypond-devel
[Top][All Lists]
Advanced

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

assert in page breaking


From: Han-Wen Nienhuys
Subject: assert in page breaking
Date: Wed, 24 Jan 2007 12:30:16 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061219)

+  if (chunks.size () != div.size () + 1)
+    {
+      programming_error ("did not find a valid page breaking configuration");
+      ignore_div = true;
+      assert (0);


this is better, but can we skip the assert()?

The problem with assert is that it prevents people from getting a PDF
and looking at their score to see what the problem with it is. 

-- 

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

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