On 11 March 2012 12:18, Rafael Laboissiere <raf...@laboissiere.net> wrote:
> The patch attached below is currently being applied to the Debian package
> octave-image (forthcoming version 1.0.15-1).  It fixes the code in
> stretchlim.m and fftconv2.m, in which the pre-3.6 behavior of ismatrix is
> expected (returning false when the argument is a string).

Thanks, I have applied the patch

> I caught this during the automated checks of the Debian package. However,
> the changes introduced by the patch are not yet enough.  The checks fail
> for all the assert calls in the code below:
>
> #########################################################################
> a = repmat(1:10, 5);
> b = repmat(10:-1:3, 7);
> assert(norm(fftconv2(b,a,'valid')-conv2(b,a,'valid')), 0, 1e6*eps)
> x = 1:4; y = 4:-1:1; a = repmat(1:10, 5);
> assert(norm(fftconv2(x,y,a)-conv2(x,y,a)), 0, 1e6*eps)
> assert(norm(fftconv2(x,y,a,'full')-conv2(x,y,a,'full')), 0, 1e6*eps)
> assert(norm(fftconv2(x,y,a,'same')-conv2(x,y,a,'same')), 0, 1e6*eps)
> assert(norm(fftconv2(x,y,a,'valid')-conv2(x,y,a,'valid')), 0, 1e6*eps)
> #########################################################################

I can't look into how to fix now but checked that this happens in both
octave 3.4.3 and 3.6.1. have opened a bug report here
https://sourceforge.net/tracker/?func=detail&aid=3503177&group_id=2888&atid=102888

Carnë

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to