arguments. Fixes compilation error with gcc 3.3.
+2005-09-15 Mats Bengtsson <mabe@drongo.s3.kth.se>
+
+ * lily/tie.cc (get_configuration): Replace fabs -> abs for integer
+ arguments. Fixes compilation error with gcc 3.3.
+
2005-09-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
* stepmake/stepmake/python-module-rules.make
2005-09-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
* stepmake/stepmake/python-module-rules.make
*/
if (conf->position_ == conf->head_position_
&& in_space
*/
if (conf->position_ == conf->head_position_
&& in_space
- && Staff_symbol_referencer::staff_radius (me) > fabs (conf->position_) / 2
+ && Staff_symbol_referencer::staff_radius (me) > abs (conf->position_) / 2
&& dy > 0.3 * staff_space)
{
conf->position_ += 2 * conf->dir_;
&& dy > 0.3 * staff_space)
{
conf->position_ += 2 * conf->dir_;
if (!in_between
&& in_space
if (!in_between
&& in_space
- && fabs (conf->position_ - conf->head_position_) <= 1)
+ && abs (conf->position_ - conf->head_position_) <= 1)
conf->position_ += 2*conf->dir_;
if (in_space)
{
conf->position_ += 2*conf->dir_;
if (in_space)
{
- if ((fabs (conf->position_ - conf->head_position_) <= 1
+ if ((abs (conf->position_ - conf->head_position_) <= 1
&& fabs (dy) < 0.45 * staff_space)
|| fabs (dy) < 0.6 * staff_space)
{
&& fabs (dy) < 0.45 * staff_space)
|| fabs (dy) < 0.6 * staff_space)
{
+ conf->delta_y_) <
conf->dir_ * conf->head_position_ * 0.5 * staff_space)
{
+ conf->delta_y_) <
conf->dir_ * conf->head_position_ * 0.5 * staff_space)
{
- if (Staff_symbol_referencer::staff_radius (me) > fabs (conf->head_position_) / 2)
+ if (Staff_symbol_referencer::staff_radius (me) > abs (conf->head_position_) / 2)
conf->position_ += 2 * conf->dir_;
else
conf->position_ += conf->dir_;
conf->position_ += 2 * conf->dir_;
else
conf->position_ += conf->dir_;