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

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

[Octave-bug-tracker] [bug #33178] Wrong construction of a struct array


From: anonymous
Subject: [Octave-bug-tracker] [bug #33178] Wrong construction of a struct array
Date: Thu, 28 Apr 2011 16:36:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; eo-EO; rv:1.9.2.16) Gecko/20110331 Gentoo Firefox/3.6.16

URL:
  <http://savannah.gnu.org/bugs/?33178>

                 Summary: Wrong construction of a struct array
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 28 Apr 2011 04:36:28 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Consider the following construction of a struct array: the first and
the last elements are correctly defined, but the intermediate ones are
not.

version: 3.4.0
(I think that this used to work on some older version)



octave:3> A(5)=struct('b',10)
A =

  1x5 struct array containing the fields:

    b

octave:4> A(2)
ans =

  scalar structure containing the fields:

    b =

error: octave_base_value::print (): wrong type argument `<unknown type>'


octave:4> A(4)
ans =

  scalar structure containing the fields:

    b =

error: octave_base_value::print (): wrong type argument `<unknown type>'








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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