octave-maintainers
[Top][All Lists]
Advanced

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

Re: Request for indexing fix


From: David Bateman
Subject: Re: Request for indexing fix
Date: Thu, 14 Jun 2007 03:19:31 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

John W. Eaton wrote:
> On 14-Jun-2007, David Bateman wrote:
> 
> | >   x = 1:100;
> | > 
> | >   x(char (57))  -->  57
> | >   x(char (58))  -->  1:100
> | 
> | Is that with matlab? If so then the proposed patch is compatible,
> 
> Yes.
> 
> | Well I could replace
> | 
> | idx(1) = ":"
> | 
> | with
> | 
> | idx(1) = 1:size(x,1);
> | 
> | but if matlab accepts the previous version, this will probably come up
> | again as a bug sometime in the future. Tell me what you want to do and
> | I'll make the fix either way...
> 
> I seem to recall coming across this feature once before, but I can't
> remember if it was a bug report or just from reading some code or
> docs.  So I guess we should go with compatibility here.  After all,
> people keep calling Octave a "clone".  Why disappoint by prefering
> consistent behavior over bug-for-bug compatibility?  :-/
> 

Ok, then committed for bug-for-bug compatibility ;-)

D.


reply via email to

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