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

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

[Octave-bug-tracker] [bug #65135] setfield internal error


From: Arnaud Delorme
Subject: [Octave-bug-tracker] [bug #65135] setfield internal error
Date: Sun, 7 Jan 2024 14:58:59 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65135>

                 Summary: setfield internal error
                   Group: GNU Octave
               Submitter: arnodelorme
               Submitted: Sun 07 Jan 2024 07:58:59 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Arno
        Originator Email: 
             Open/Closed: Open
                 Release: 8.4.0
         Discussion Lock: Any
        Operating System: Mac OS
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 07 Jan 2024 07:58:59 PM UTC By: Arnaud Delorme <arnodelorme>
Create this simple object.


classdef SimpleObject
    properties
        Value
    end
end
+verbatim-

Then run the following.

+verbatim+
z = SimpleObject;
z.Value(1).b = 1;
z.Value(2).b = 1;
x = { 1 2 };
[z.Value.b] = x{:};
+verbatim-

This code runs fine on MATLAB (2023b) but generates the following error on
Octave 8.4

error: octave_map::setfield: internal error









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65135>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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