[Top][All Lists]

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

[Octave-bug-tracker] [bug #55666] Variable editor can only show row stru

From: Rik
Subject: [Octave-bug-tracker] [bug #55666] Variable editor can only show row struct arrays
Date: Thu, 7 Feb 2019 15:21:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #7, bug #55666 (project octave):

The issues seems to be above the code in variable-editor-model.cc.

I took a look at the function header_fields(), and it is only getting called
once when the size is 3x1.  The class vector_struct_model uses column to refer
to the fieldname in the struct.  However, it appears that whatever loop is
above struct_vector_class is looping over columns of the physical size.

In the constructor for struct_vector_class, we specifically change data
members to have the right sizes.

      m_data_rows = val.numel ();
      m_data_cols = val.nfields ();

So, how does header_fields get called?


Reply to this item at:


  Message sent via Savannah

reply via email to

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