lilypond-devel
[Top][All Lists]
Advanced

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

Cast to Real in C++ style throughout (issue 547560044 by address@hidden)


From: nine . fierce . ballads
Subject: Cast to Real in C++ style throughout (issue 547560044 by address@hidden)
Date: Sun, 02 Feb 2020 10:51:08 -0800

LGTM


https://codereview.appspot.com/547560044/diff/555240043/lily/spring.cc
File lily/spring.cc (right):

https://codereview.appspot.com/547560044/diff/555240043/lily/spring.cc#newcode119
lily/spring.cc:119: avg_stretch /= static_cast<Real> (springs.size ());
This is not an issue with this change, but should this function do
something other than divide by zero when springs is empty?

https://codereview.appspot.com/547560044/



reply via email to

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