Skip to content

Use derivimplicit if cnexp solution contains an unimplemented function - #3590

Merged
JCGoran merged 7 commits into
masterfrom
jelic/fix_lambertw
Sep 9, 2025
Merged

Use derivimplicit if cnexp solution contains an unimplemented function#3590
JCGoran merged 7 commits into
masterfrom
jelic/fix_lambertw

Conversation

@JCGoran

@JCGoran JCGoran commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

Fixes #3579.

We check the cnexp solution for any "unimplementable" features (such as the presence of the Lambert W function), and raise a warning to the user that NMODL will use derivimplicit instead.

Note that we do not perform this check in the Python code itself (notably ode.py) because it isn't aware of what is and isn't implemented in NEURON.

@github-actions

github-actions Bot commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

✔️ 0be6d6c -> artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 0be6d6c -> Azure artifacts URL

@codecov

codecov Bot commented Sep 2, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.47%. Comparing base (28d3612) to head (9d15879).
⚠️ Report is 43 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3590      +/-   ##
==========================================
+ Coverage   68.46%   68.47%   +0.01%     
==========================================
  Files         686      686              
  Lines      116758   116771      +13     
==========================================
+ Hits        79942    79963      +21     
+ Misses      36816    36808       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

✔️ 956ace0 -> artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 956ace0 -> Azure artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ b18656a -> Azure artifacts URL

@github-actions

github-actions Bot commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

✔️ b18656a -> artifacts URL

Comment thread src/nmodl/visitors/sympy_solver_visitor.cpp
@github-actions

github-actions Bot commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

✔️ 4ff6f36 -> artifacts URL

@azure-pipelines

Copy link
Copy Markdown

✔️ 4ff6f36 -> Azure artifacts URL

@JCGoran
JCGoran marked this pull request as ready for review September 4, 2025 07:56

@cattabiani cattabiani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and I approve in principle. I would prefer to have the opinion of someone else. I am rusty on nmodl.

PS: if you do not find anybody else, I will approve obv

Comment thread test/nmodl/transpiler/unit/visitor/sympy_solver.cpp
@sonarqubecloud

sonarqubecloud Bot commented Sep 9, 2025

Copy link
Copy Markdown

@JCGoran
JCGoran enabled auto-merge (squash) September 9, 2025 13:12
@azure-pipelines

Copy link
Copy Markdown

✔️ 9d15879 -> Azure artifacts URL

@github-actions

github-actions Bot commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

✔️ 9d15879 -> artifacts URL

@JCGoran
JCGoran merged commit a7f7753 into master Sep 9, 2025
43 checks passed
@JCGoran
JCGoran deleted the jelic/fix_lambertw branch September 9, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NMODL's integrate2c generates a solution containing the unimplemented LambertW function

3 participants