# HG changeset patch
# User Michael Godfrey <michaeldgodfrey@gmail.com>
# Date 1360436193 18000
# Node ID 103d5213c25622a23e39876198dd74b2754432d1
# Parent  e0df71fbe39bbba493a5e3f476a711dd9c0e0a86
correct signbit test != 0

diff -r e0df71fbe39b -r 103d5213c256 scripts/plot/stemleaf.m
--- a/scripts/plot/stemleaf.m	Fri Feb 08 16:05:04 2013 +0100
+++ b/scripts/plot/stemleaf.m	Sat Feb 09 13:56:33 2013 -0500
@@ -203,7 +203,7 @@
 
     ## stems -+ 0 have to be handled as special cases.
     for xi = 1:nx
-      if(signbit(stems(kx)) == 1)
+      if(signbit(stems(kx)) != 0)
         t1 = ((x(xi) <= stems(kx)*10) && (x(xi) > (stems(kx-1)*10)));
       else
         t1 = ((x(xi) < stems(kx)*10) && (x(xi) >= (stems(kx-1)*10)));
