/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2004--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Pitch_interval::Pitch_interval ()
{
- at (LEFT) = Pitch (100, 0, 0);
- at (RIGHT) = Pitch (-100, 0, 0);
+ at (LEFT) = Pitch (100, 0);
+ at (RIGHT) = Pitch (-100, 0);
}
bool
Drul_array<bool>
Pitch_interval::add_point (Pitch p)
{
- Drul_array<bool> expansions(false,false);
+ Drul_array<bool> expansions (false, false);
if (at (LEFT).tone_pitch () > p.tone_pitch ())
{
at (LEFT) = p;
return expansions;
}
-
Pitch_lexicographic_interval::Pitch_lexicographic_interval (Pitch p1, Pitch p2)
{
at (LEFT) = p1;
Pitch_lexicographic_interval::Pitch_lexicographic_interval ()
{
- at (LEFT) = Pitch (100, 0, 0);
- at (RIGHT) = Pitch (-100, 0, 0);
+ at (LEFT) = Pitch (100, 0);
+ at (RIGHT) = Pitch (-100, 0);
}
bool
Drul_array<bool>
Pitch_lexicographic_interval::add_point (Pitch p)
{
- Drul_array<bool> expansions(false,false);
+ Drul_array<bool> expansions (false, false);
if (at (LEFT) > p)
{
at (LEFT) = p;