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

Unified Diff: lily/stem-tremolo.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 | « lily/stem.cc ('k') | lily/stencil.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/stem-tremolo.cc
diff --git a/lily/stem-tremolo.cc b/lily/stem-tremolo.cc
index e845824cf21a080498d28f7e9b208fb824bb67cf..528d8b13727231be584b57f920f5be9fb6637847 100644
--- a/lily/stem-tremolo.cc
+++ b/lily/stem-tremolo.cc
@@ -326,7 +326,7 @@ Stem_tremolo::y_offset (Grob *me, bool pure)
}
bool whole_note = Stem::duration_log (stem) <= 0;
- if (whole_note || isinf(end_y))
+ if (whole_note || std::isinf(end_y))
{
/* we shouldn't position relative to the end of the stem since the stem
is invisible */
« no previous file with comments | « lily/stem.cc ('k') | lily/stencil.cc » ('j') | no next file with comments »

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