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

Unified Diff: lily/accidental-placement.cc

Issue 569220043: Issue 5658: Include <cmath> consistently, not <math.h> (Closed)
Patch Set: Cleanup: !isinf && !isnan == isfinite 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 | « flower/offset.cc ('k') | lily/axis-group-interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/accidental-placement.cc
diff --git a/lily/accidental-placement.cc b/lily/accidental-placement.cc
index f1be42c7c6868a77edb78929803b0fa1c6992869..bc1fa0b0a99ac75ea9314f30df5665f4b6485c00 100644
--- a/lily/accidental-placement.cc
+++ b/lily/accidental-placement.cc
@@ -399,7 +399,7 @@ position_apes (Grob *me,
Real offset = -ape->horizontal_skylines_[RIGHT]
.distance (left_skyline, 0.1);
- if (isinf (offset))
+ if (std::isinf (offset))
offset = last_offset;
else
offset -= padding;
@@ -416,7 +416,7 @@ position_apes (Grob *me,
for (LEFT_and_RIGHT (d))
{
Real mh = ape->horizontal_skylines_[d].max_height ();
- if (!isinf (mh))
+ if (!std::isinf (mh))
width.add_point (mh + offset);
}
« no previous file with comments | « flower/offset.cc ('k') | lily/axis-group-interface.cc » ('j') | no next file with comments »

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