octave-maintainers
[Top][All Lists]
Advanced

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

Re: Someone please check for me...


From: Paul Kienzle
Subject: Re: Someone please check for me...
Date: Tue, 2 Mar 2004 07:36:15 -0500

It persists in 2.1.53. Change any(i) to any(i(:)). The attached patch fixes it.

Paul Kienzle
address@hidden

On Mar 2, 2004, at 3:09 AM, Daniel J Sebald wrote:

I'm at version 2.1.46 and came across what looks like a bug. I realize I'm way out of date, but I've downloaded the latest CVS version and can't seem to get it to compile easily. It is easy to script around the problem, but could someone with a recent version do a simple test of the code below and confirm this has been fixed? Thanks.

The following code should not produce a matrix of all ones:

octave:174> a = [0 0.5; 0 0.4]
a =

 0.00000  0.50000
 0.00000  0.40000

octave:175> sinc(a)
ans =

 1  1
 1  1

Attachment: sinc.diff
Description: Binary data


reply via email to

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