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

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

[Octave-bug-tracker] [bug #41709] image-2.2.0 - bwdist giving wrong resu


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #41709] image-2.2.0 - bwdist giving wrong results on simple array
Date: Sat, 08 Mar 2014 01:00:58 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20140207 Firefox/24.0 Iceweasel/24.3.0

Update of bug #41709 (project octave):

                  Status:                    None => Fixed                  
             Assigned to:                    None => carandraug             
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #4:

I have fixed this with changeset 875:9a76652a01f5

The problem happened when the code originally had variable "h" for width and
"w" for height. Note that they are swapped. I can only guess why but probably
because the code was originally written for row-major order
and it would be easier to swap the assignment to these two variables than all
instances of it in the code.

It should be fixed, and I added this case to the test suite of the image
package.

This fix will be released with the next stable release, version 2.2.1 which
should be soon.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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