Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(179)

Unified Diff: lily/page-spacing-result.cc

Issue 553400043: EXPERIMENTAL: put a reminder of the mm rest on the last page at the top. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/page-breaking.cc ('k') | lily/pointer-group-interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/page-spacing-result.cc
diff --git a/lily/page-spacing-result.cc b/lily/page-spacing-result.cc
index 106c7e882295df3f1e99f0fc7971f888acf65d15..bfb25286912ac8229cba54977d89904d53063dcd 100644
--- a/lily/page-spacing-result.cc
+++ b/lily/page-spacing-result.cc
@@ -41,7 +41,7 @@ Page_spacing_result::average_force () const
for (vsize i = 0; i < page_count (); i++)
average_force += force_[i];
- average_force /= page_count ();
+ average_force /= Real (page_count ());
return average_force;
}
« no previous file with comments | « lily/page-breaking.cc ('k') | lily/pointer-group-interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b