[Pkg-octave-devel] Bug#712995: octave-image: '__bwdist' undefined

David Pirotte david at altosw.be
Fri Jun 21 17:34:07 UTC 2013


Package: octave-image
Version: 2.0.0-2
Severity: important
Tags: patch

Dear Maintainer,

     octave:2> I = [0 0 0 0 0; 0 0 1 1 0; 0 1 1 0 0; 0 0 0 0 0];
     octave:3> bwdist(I)
        error: '__bwdist' undefined near line 56 column 9
        error: called from:
        error:   /usr/share/octave/packages/image-2.0.0/bwdist.m at line 56, column 7

Speaking with octave developers on the octave freenode channel, they
suggested the solution already, here is a patch:


--- /usr/share/octave/packages/image-2.0.0/bwdist.m		 2013-06-04 18:42:27.000000000 -0300
+++ bwdist.m							 2013-06-19 17:32:18.000000000 -0300
@@ -53,9 +53,9 @@ function [D, C] = bwdist(bw, method = "e
   endif
 
   if (nargout < 2)
-    D = __bwdist(bw, method);
+    D = __bwdist__(bw, method);
   else
-    [D, C] = __bwdist(bw, method);
+    [D, C] = __bwdist__(bw, method);
   endif
 
 endfunction

Thanks,
David


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages octave-image depends on:
ii  imagemagick    8:6.7.7.10-5
ii  libc6          2.17-3
ii  libgcc1        1:4.8.1-2
ii  liboctave1     3.6.4-3
ii  libstdc++6     4.8.1-2
ii  octave         3.6.4-3
ii  octave-signal  1.2.2-1

octave-image recommends no packages.

octave-image suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bwdist.patch
Type: text/x-diff
Size: 397 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20130621/ac23a46c/attachment.patch>


More information about the Pkg-octave-devel mailing list