]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.0
authorfred <fred>
Tue, 26 Mar 2002 21:51:27 +0000 (21:51 +0000)
committerfred <fred>
Tue, 26 Mar 2002 21:51:27 +0000 (21:51 +0000)
flower/include/real.hh

index ec98982cdfca77fa38fceaa8eecb0122b252fc7d..630d3dd692e283c401d45b04f9b7b4e41a4ef4c0 100644 (file)
@@ -25,7 +25,7 @@ template<class T> inline T abs (T x)
 template<class T> inline int sign (T x)
 {
   if (x)
-    return x > 0 ? 1 : -1;
+    return x > T(0) ? 1 : -1;
   return 0;
 }