Skip to content

Conversation

@Oksana-Palianytsia
Copy link

No description provided.

cbm755 and others added 12 commits August 15, 2023 04:13
This type of local functions are not supported in Octave (?)
Maybe this is a temporary hack so don't re-indent code (this
is to keep the diff smaller).
We cannot subclass double, which is causing lots of trouble for
"domain" (which is only a very thin wrapper around double).
TEMPORARY workaround for some fight between between subsref and
the .domain class property causing infinite loops.
Maybe this is just temporary?  I'm sure this is used in other places
so hopefully can fix it instead of working around with temp variables
like is done here.
On Octave calling fieldnames on a classdef is a warning.  Put that
case last in chebfun/get so that we don't trigger the warning when
accessing more common public properties.

I assume this is not recommended OOP practice so probably this is
a good chance on Matlab too.  Or maybe it should raise a warning
on Matlab?
This was mostly a thin wrapper around double, but it did have some
methods that will probably need to be restored: "validate" and
"merge" maybe others...?
Either this needs some workaround in subsref or perhaps its an
Octave bug.  I think there are subtle differences about how this
sort of subsref chaining works b/w Octave and Matlab.
@cbm755
Copy link
Owner

cbm755 commented Apr 28, 2025

I cherry-picked the BIST file in commit 69a4d97.

I'm going to try to change this to target the branch octave_dev25...

@cbm755 cbm755 changed the base branch from octave_dev to octave_dev25 April 28, 2025 16:39
@cbm755 cbm755 changed the base branch from octave_dev25 to octave_dev April 28, 2025 16:40
@cbm755
Copy link
Owner

cbm755 commented Apr 28, 2025

No, that didn't look very good. Leaving it as-is for reference; there are likely useful edits here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants