Skip to content
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

Use SymPy solver when using derivimplicit method with NEURON codegen #1366

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

JCGoran
Copy link
Contributor

@JCGoran JCGoran commented Jul 22, 2024

One runs into a bunch of compile errors with https://github.com/BlueBrain/nmodlbench/blob/master/benchmark/channels/lib/modlib/cacumm.mod otherwise.

Also added tests.

bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Jul 22, 2024
@JCGoran JCGoran marked this pull request as ready for review July 22, 2024 14:57
@bbpbuildbot

This comment has been minimized.

@JCGoran JCGoran marked this pull request as draft July 26, 2024 08:31
- rename `sparse_solver_exists` to `solver_exists`
- add `name` argument to `solver_exists` to keep function generic
- rename `cnexp` dir to `solve`
- add tests for `derivimplicit` method
@JCGoran JCGoran force-pushed the jelic/fix_derivimplicit branch from 0b4de51 to 3e552fd Compare July 26, 2024 09:35
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Jul 26, 2024
Copy link

codecov bot commented Jul 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.82%. Comparing base (696d898) to head (4654790).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1366   +/-   ##
=======================================
  Coverage   86.82%   86.82%           
=======================================
  Files         179      179           
  Lines       13684    13685    +1     
=======================================
+ Hits        11881    11882    +1     
  Misses       1803     1803           

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

@bbpbuildbot

This comment has been minimized.

@JCGoran JCGoran marked this pull request as ready for review July 26, 2024 10:31
@JCGoran JCGoran changed the title Use SymPy solver when using derivimplicit method Use SymPy solver when using derivimplicit method with NEURON codegen Jul 26, 2024
@JCGoran JCGoran added the NEURON codegen Work toward NEURON code generation label Jul 26, 2024
@JCGoran JCGoran requested a review from 1uc July 26, 2024 10:32
Copy link
Collaborator

@1uc 1uc left a comment

Choose a reason for hiding this comment

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

Thank you this makes sense.

test/usecases/solve/test_scalar.py Show resolved Hide resolved
test/usecases/solve/test_scalar.py Show resolved Hide resolved
test/usecases/solve/test_scalar.py Outdated Show resolved Hide resolved
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request Jul 26, 2024
@bbpbuildbot
Copy link
Collaborator

Logfiles from GitLab pipeline #223835 (:white_check_mark:) have been uploaded here!

Status and direct links:

@JCGoran JCGoran merged commit 10788d7 into master Jul 26, 2024
24 checks passed
@JCGoran JCGoran deleted the jelic/fix_derivimplicit branch July 26, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NEURON codegen Work toward NEURON code generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants