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

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

[Octave-bug-tracker] [bug #45333] image package: grayhresh fails if inpu


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #45333] image package: grayhresh fails if input doesn't have different values
Date: Wed, 12 Apr 2017 09:27:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Update of bug #45333 (project octave):

                  Status:         Patch Submitted => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #4:

I am not sure why you were using `!isfinite` when the problem is that `max
(bcv)` returned NaN.  I used isnan which is clearer.  Also, I put the check
earlier and avoided computing threshold and goodness in such case.

http://hg.code.sf.net/p/octave/image/rev/34c55ccd6dad

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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