]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/real.hh
release: 1.3.0
[lilypond.git] / flower / include / real.hh
index 3b030c4cba429b9dbf14b396cc9d27c880343614..630d3dd692e283c401d45b04f9b7b4e41a4ef4c0 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -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;
 }