octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31287] Certain assignments of empty arrays gi


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #31287] Certain assignments of empty arrays give errors (Matlab incompatibility)
Date: Fri, 10 Dec 2010 16:39:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)

Follow-up Comment #2, bug #31287 (project octave):

This is a repost of the comments Jaroslav made on Nov 25, and which were lost
during the savannah outage:

I'm OK to fix this, but I have adopted the stance that I want to derive a
general rule first. Fixing incompatibilities on an ad hoc basis is useless. I
suppose the rule may be something like "A(I,J,...) = B always works if B is
0x0 and at least one of I,J,... is empty."

So, if you want to fix it, find a general rule like this (you can try this
one, if it works) and then provide a test script, as detailed as possible,
that works in Matlab some way (e.g. success/errors + different results if
applicable) and should work in Octave the same way.

This has to be done by someone with Matlab (which I'm not) and is actually
the bulk of the work, fixing the Octave code is then easy.  I'll be glad to do
the latter part. 

regards


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31287>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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