X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Freal.hh;fp=flower%2Finclude%2Freal.hh;h=ceb1e114f0f8b37a2e78a945267d6c3fb5e0ae50;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=a104454ad54783ea37083fec9390dc00c0ccf1be;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/flower/include/real.hh b/flower/include/real.hh index a104454ad5..ceb1e114f0 100644 --- a/flower/include/real.hh +++ b/flower/include/real.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 @@ -29,7 +29,7 @@ typedef double Real; extern const Real infinity_f; /* namespace std { */ - + template inline T abs (T x) { return x > 0 ? x : -x;