[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65214] Evaluation of properties referencing o
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #65214] Evaluation of properties referencing other properties fails |
Date: |
Fri, 26 Jan 2024 02:58:36 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?65214>
Summary: Evaluation of properties referencing other
properties fails
Group: GNU Octave
Submitter: None
Submitted: Fri 26 Jan 2024 07:58:36 AM UTC
Category: Classdef
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Alexander Entinger
Originator Email: consulting@lxrobotics.com
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 26 Jan 2024 07:58:36 AM UTC By: Anonymous
Full discussion see here:
https://octave.discourse.group/t/how-to-reference-a-const-property-within-an-octave-class/5214
I’m experiencing a problem when I want to reference a constant property
member of a class from another property of the very same class. The minimal
Octave code showing this problem is this:
classdef MinBug
properties (Constant = true)
A = 1
B = MinBug.A * 2
end
end
When trying to instantiate a new object via obj = MinBug() this error occurs:
error: no such file, 'PATH_TO_MINBUG/MinBug.m'
error: called from
<unknown>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65214>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65214] Evaluation of properties referencing other properties fails,
anonymous <=