Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Fix for finite differences.#1558

Merged
1uc merged 1 commit into
masterfrom
1uc/fix-finite-difference
Nov 13, 2024
Merged

Fix for finite differences.#1558
1uc merged 1 commit into
masterfrom
1uc/fix-finite-difference

Conversation

@1uc

@1uc 1uc commented Nov 13, 2024

Copy link
Copy Markdown
Collaborator

The previous implementation would apply the transformation to children of the node in the AST. Hence, if the root was sp.Derivative it would fail.

This commit adds a fix and the tests.

The previous implementation would apply the transformation to children
of the node in the AST. Hence, if the root was `sp.Derivative` it would
fail.

This commit adds a fix and the tests.
@1uc 1uc marked this pull request as ready for review November 13, 2024 12:26
@1uc 1uc merged commit 16b5f95 into master Nov 13, 2024
@1uc 1uc deleted the 1uc/fix-finite-difference branch November 13, 2024 13:02
JCGoran pushed a commit to neuronsimulator/nrn that referenced this pull request Mar 12, 2025
The previous implementation would apply the transformation to children
of the node in the AST. Hence, if the root was `sp.Derivative` it would
fail.

This commit adds a fix and the tests.

NMODL Repo SHA: BlueBrain/nmodl@16b5f95
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants