field ordering in octave's save/load
Gunnar Rätsch
Gunnar.Raetsch at tuebingen.mpg.de
Tue Mar 3 14:39:26 CST 2009
Dear octave team,
I've been using octave a lot recently and am really happy with its
recent progress. Thanks a lot for your efforts!
I came across one issue today, which isn't really a bug, but just a
different behaviour compared to matlab, which you may want to fix (at
least it would help me quite a bit).
I've noticed that when structures are saved and then loaded again in
octave, then the fields are alphabetically sorted. This is not the
case in matlab.
I had a piece of code that depended on the ordering of these fields
and therefore the octave code failed, while the matlab code worked
just fine (this was a difficult-to-find bug).
What do you think? Do you intend to change the code such that the
field order is preserved?
Thanks a lot in advance,
Gunnar
More information about the Bug-octave
mailing list