Skip to content

Commit

Permalink
For CoreNEURON, DERIVATIVE doesn't need sympy. (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc authored Oct 31, 2024
1 parent 311c814 commit 800d098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ int run_nmodl(int argc, const char* argv[]) {

enable_sympy(solver_exists(*ast, "derivimplicit"), "'SOLVE ... METHOD derivimplicit'");
enable_sympy(node_exists(*ast, ast::AstNodeType::LINEAR_BLOCK), "'LINEAR' block");
enable_sympy(node_exists(*ast, ast::AstNodeType::DERIVATIVE_BLOCK),
enable_sympy(neuron_code && node_exists(*ast, ast::AstNodeType::DERIVATIVE_BLOCK),
"'DERIVATIVE' block");
enable_sympy(node_exists(*ast, ast::AstNodeType::NON_LINEAR_BLOCK),
"'NONLINEAR' block");
Expand Down

0 comments on commit 800d098

Please sign in to comment.