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: Jaroslav Hajek
Subject: [Octave-bug-tracker] [bug #31287] Certain assignments of empty arrays give errors (Matlab incompatibility)
Date: Thu, 25 Nov 2010 21:09:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.2.11) Gecko/20101013 Ubuntu/9.04 (jaunty) Firefox/3.6.11

Update of bug #31287 (project octave):

             Assigned to:                    None => highegg                

    _______________________________________________________

Follow-up Comment #2:

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]