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

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

[Octave-bug-tracker] [bug #44844] field assignment converts class object


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #44844] field assignment converts class object to struct
Date: Wed, 15 Apr 2015 09:49:02 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0

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

                 Summary: field assignment converts class object to struct
                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Wed 15 Apr 2015 11:49:01 AM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Rafael Vazquez
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Any

    _______________________________________________________

Details:

Using the definitions of classes prova and prova2 in the aasignment


In Octave 3.8.2:


>> p = prova ([0 0 1 1])
p = <class prova>
>> p.boundary.spline_space
ans =

  scalar structure containing the fields:

    dofs =

       2   3   4


>> 



in Matlab R2007b


>> p = prova ([0 0 1 1])

p = 

        prova object: 1-by-1

>> p.boundary.spline_space

ans = 

        prova2 object: 1-by-1

>> 




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Apr 2015 11:49:01 AM CEST  Name: class-files.tar.gz  Size: 711B  
By: cdf

<http://savannah.gnu.org/bugs/download.php?file_id=33680>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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