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

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

[Octave-bug-tracker] [bug #40575] Saving cells containing matrices with


From: Matt
Subject: [Octave-bug-tracker] [bug #40575] Saving cells containing matrices with NA fails to load
Date: Thu, 14 Nov 2013 07:23:28 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Follow-up Comment #3, bug #40575 (project octave):

The code is very complex unfortunately and I'm not the author of it.  I am
merely hacking it until it conforms to octave.  The original array is actually
initialized to all zeros.

However both NaNs and Infs are deliberately introduced to mark certain
elements as unused.  Of course Matlab does not have NA, so that was not used.

I have to conclude that there are octave functions, built in or not that
actually produce NAs, perhaps from NaNs.  In the code I notice things like
fliplr() and sort() and isinf() and isnan() being used.  What happens to sort
if there are NaNs in the array for example?

It would take a bit of work to skin out, but I can verify this much.  The
array is filled with 0s prior to a section of code that loads the array with
mathematical quantities derived from another array that contains some NaNs. 
After this process, NAs are produced.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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