forked from chebfun/chebfun
-
Notifications
You must be signed in to change notification settings - Fork 2
[no merge] Octave development branch #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cbm755
wants to merge
81
commits into
master
Choose a base branch
from
octave_dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
Author
|
@kolmanthomas head's up a force-pushed this on top of the latest main branch at upstream chebfun. I submitted your |
d3d98eb to
40170b9
Compare
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 change 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.
This reverts commit b5a9a93. It wasn't the correct action to fix the 2*f issue, broke a lot of other behaviours like 'f + 2*f' et cetera.
This reverts commit b1165b5.
This reverts commit 45a8b00.
See bug #67348 (https://savannah.gnu.org/bugs/?67348) for more details.
This reverts commit d1c5725.
This reverts commit 22aac25. Issue was fixed in core Octave (hg id 34756:b12978fb1380) (see https://savannah.gnu.org/bugs/index.php?65179).
test_atan2 passes without error after this change.
Previously, calling `verLessThan('matlab', version)` caused an error on Octave. With this change, querying the `matlab` version will silently query the Octave version on Octave. All invocations of `verLessThan` must be changed to `compatible_verLessThan`.
Octave does not support bvpinit() as of now.
They currently just crash anyway; hope to add them back later as the Octave work matures a bit.
Tests for `verLessThan('matlab', ...)` give an error on Octave.
Use a helper function to check which platform we're on it.
This particular "new graphics mode" was added around Octave 8, but
but Chebfun only works on Octave >= 11 so no need for specific Octave
version checks.
I have checked all these in Octave as I made the changes.
Chebfun only supports Octave >= 11 so there is no need for a specific version check on Octave.
We cannot subclass double, which is causing lots of trouble for "domain" (which is only a very thin wrapper around double).
Uses a patched version of Octave that pulls from the GitHub Container Registry.
This reverts commit 7ec974e.
This reverts commit dc33cc3.
This reverts commit b21125f.
This reverts commit fb8b460.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Work-in-progress to get Chebfun working on Octave.
defaultbranch from source as of August 2025).