[Top][All Lists]

[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 (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 -

LilyPond Software Design
 -- Code for Music Notation

reply via email to

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