octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38291] Failing test in scripts/plot/stemleaf.


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #38291] Failing test in scripts/plot/stemleaf.m
Date: Sat, 09 Feb 2013 17:39:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0

Follow-up Comment #6, bug #38291 (project octave):

Aha.  I get 
signbit(x)
ans =

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

So, this is something that John Eaton could look at.
He just recently wrote the signbit() code.  I think
that it should return 1.  But, the documentation says
"non-zero."  So, either John will decide 1 is right, or
I will change stemleaf to test for non-zero.

If you need this to work right away, you could just make
the obvious change in stemleaf().  I will probably do that
anyhow. Line 206 needs == 1 replaced by != 0

Thanks for submitting this report.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38291>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]