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

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

[Octave-bug-tracker] [bug #32641] Load of MAT-files that contain objects


From: David Bateman
Subject: [Octave-bug-tracker] [bug #32641] Load of MAT-files that contain objects
Date: Wed, 01 Jun 2011 23:13:45 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Update of bug #32641 (project octave):

             Assigned to:                    None => dbateman               

    _______________________________________________________

Follow-up Comment #6:

The Octave load/save code probes the value type, then creates a dummy variable
of this type with

octave_value tc = octave_value_typeinfo::lookup_type (typ);

before finally calling for example

tc.load_ascii (is);

So even before we get to the load_ascii call in ov-class.cc the type of the
variable is fixed and mutating the varible to a structure after calling the
examplar fails can not be performed there. The mutation has to be perform when
we're back from the call to load_ascii. I don't see an easy means of doing
this without significant chznges to the API of load_ascii, etc

In any case that shouldn't stop the patch for the matfile version of this
problem being applied.

D,



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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