help-octave
[Top][All Lists]
Advanced

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

Re: function handles & closures - porting from matlab


From: John W. Eaton
Subject: Re: function handles & closures - porting from matlab
Date: Wed, 29 Jul 2009 14:39:32 -0400

On 29-Jul-2009, Ian Rickard wrote:

| Sorry, yeah, should have provided that info:
| 
| octave 3.2.1.
| 
| Expected:
| > a = gen_poly_funs(2);
| > a{1}(2)
| ans =  1
| > a{3}(2)
| ans =  4
| 
| observed:
| octave-3.2.0:26> a = gen_poly_funs(2);
| octave-3.2.0:27> a{1}(2)
| ans =  4
| octave-3.2.0:28> a{3}(2)
| ans =  4

I think this problem is already fixed in Octave 3.2.2.  It behaves the
way you expect.

jwe


reply via email to

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