X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fdrul-array.hh;fp=flower%2Finclude%2Fdrul-array.hh;h=d84af5a6148789d1ba05062e6ec01fbdcd917ab5;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=4db1cb133b820206937be18d500c5b00a8656ec6;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/flower/include/drul-array.hh b/flower/include/drul-array.hh index 4db1cb133b..d84af5a614 100644 --- a/flower/include/drul-array.hh +++ b/flower/include/drul-array.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2012 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ struct Drul_array { return at (d); } - T const& operator [] (Direction d) const + T const &operator [] (Direction d) const { return at (d); } @@ -74,7 +74,7 @@ inline Real linear_combination (Drul_array const &d, Real x) { return ((1.0 - x) * Real (d.at (LEFT)) - + (x + 1.0) * Real (d.at (RIGHT))) * 0.5; + + (x + 1.0) * Real (d.at (RIGHT))) * 0.5; } #endif /* DRUL_ARRAY_HH */